Commit 3a0f2d7d authored by Andrew Nicols's avatar Andrew Nicols Committed by ilya
Browse files

MDL-71615 qbank_deletequestion: Whitespace fixes

parent 38ec8028
......@@ -15,7 +15,7 @@
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
/**
* action to delete (or hide) a question, or restore a previously hidden question.
* Action 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;
/**
* action to delete (or hide) a question, or restore a previously hidden question.
* Action 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;
}
}
......@@ -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),
];
}
}
......@@ -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';
}
}
......@@ -29,4 +29,3 @@ $plugin->component = 'qbank_deletequestion';
$plugin->version = 2021070700;
$plugin->requires = 2021052500;
$plugin->maturity = MATURITY_STABLE;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment