mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-38230 mod_quiz: Create UI for removing of quiz access rule addons
This commit is contained in:
parent
032a4fe51c
commit
a001c1131e
@ -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 = 2015072900;
|
||||
$plugin->requires = 2015050500;
|
||||
$plugin->component = 'mod_quiz';
|
||||
$plugin->cron = 60;
|
||||
|
Loading…
x
Reference in New Issue
Block a user