MDL-38230 mod_quiz: Create UI for removing of quiz access rule addons
This commit is contained in:
@@ -30,6 +30,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
class quizaccess extends base {
|
||||
public function is_uninstall_allowed() {
|
||||
return false;
|
||||
// Only allow uninstall of non-core access rules.
|
||||
return !$this->is_standard();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$plugin->version = 2015051100;
|
||||
$plugin->version = 2015051101;
|
||||
$plugin->requires = 2015050500;
|
||||
$plugin->component = 'mod_quiz';
|
||||
$plugin->cron = 60;
|
||||
|
||||
Reference in New Issue
Block a user