MDL-53777 tool_mobile: Move mobile settings to the admin tool
This commit is contained in:
@@ -33,7 +33,12 @@ defined('MOODLE_INTERNAL') || die();
|
||||
class tool extends base {
|
||||
|
||||
public function is_uninstall_allowed() {
|
||||
return true;
|
||||
// Some mobile settings are used by the core.
|
||||
if ($this->name === 'mobile') {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user