MDL-33952 Assignment - bon voyage!
mod_assignment has been replaced with a stub that only exists to support restoring and auto upgrading to mod_assign. If you require mod_assignment for some old plugin, then overwrite with the 2.6 version manually.
This commit is contained in:
@@ -29,7 +29,17 @@ defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
|
||||
class assignment extends base {
|
||||
public function is_uninstall_allowed() {
|
||||
/**
|
||||
* Returns the information about plugin availability
|
||||
*
|
||||
* True means that the plugin is enabled. False means that the plugin is
|
||||
* disabled. Null means that the information is not available, or the
|
||||
* plugin does not support configurable availability or the availability
|
||||
* can not be changed.
|
||||
*
|
||||
* @return null|bool
|
||||
*/
|
||||
public function is_enabled() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user