Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
3a0f2d7d
Commit
3a0f2d7d
authored
Aug 18, 2021
by
Andrew Nicols
Committed by
ilya
Aug 19, 2021
Browse files
MDL-71615 qbank_deletequestion: Whitespace fixes
parent
38ec8028
Changes
4
Hide whitespace changes
Inline
Side-by-side
question/bank/deletequestion/classes/delete_action_column.php
View file @
3a0f2d7d
...
...
@@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
*
a
ction to delete (or hide) a question, or restore a previously hidden question.
*
A
ction to delete (or hide) a question, or restore a previously hidden question.
*
* @package qbank_deletequestion
* @copyright 2009 Tim Hunt
...
...
@@ -24,12 +24,10 @@
namespace
qbank_deletequestion
;
defined
(
'MOODLE_INTERNAL'
)
||
die
();
use
core_question\local\bank\menu_action_column_base
;
/**
*
a
ction to delete (or hide) a question, or restore a previously hidden question.
*
A
ction to delete (or hide) a question, or restore a previously hidden question.
*
* @package qbank_deletequestion
* @copyright 2009 Tim Hunt
...
...
@@ -107,7 +105,4 @@ class delete_action_column extends menu_action_column_base {
$required
[]
=
'q.hidden'
;
return
$required
;
}
}
question/bank/deletequestion/classes/plugin_feature.php
View file @
3a0f2d7d
...
...
@@ -25,8 +25,6 @@
namespace
qbank_deletequestion
;
defined
(
'MOODLE_INTERNAL'
)
||
die
();
use
core_question\local\bank\plugin_features_base
;
/**
...
...
@@ -38,11 +36,9 @@ use core_question\local\bank\plugin_features_base;
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
plugin_feature
extends
plugin_features_base
{
public
function
get_question_columns
(
$qbank
):
array
{
return
[
new
delete_action_column
(
$qbank
)
new
delete_action_column
(
$qbank
)
,
];
}
}
question/bank/deletequestion/classes/privacy/provider.php
View file @
3a0f2d7d
...
...
@@ -25,8 +25,6 @@
namespace
qbank_deletequestion\privacy
;
defined
(
'MOODLE_INTERNAL'
)
||
die
();
/**
* Privacy Subsystem for qbank_deletequestion implementing null_provider.
*
...
...
@@ -35,10 +33,7 @@ defined('MOODLE_INTERNAL') || die();
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class
provider
implements
\
core_privacy\local\metadata\null_provider
{
public
static
function
get_reason
():
string
{
return
'privacy:metadata'
;
}
}
question/bank/deletequestion/version.php
View file @
3a0f2d7d
...
...
@@ -29,4 +29,3 @@ $plugin->component = 'qbank_deletequestion';
$plugin
->
version
=
2021070700
;
$plugin
->
requires
=
2021052500
;
$plugin
->
maturity
=
MATURITY_STABLE
;
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment