MDL-53777 tool_mobile: Move mobile settings to the admin tool

This commit is contained in:
Juan Leyva
2016-10-03 10:02:32 +01:00
parent ddd8dc0d1b
commit 8a0a7414b2
4 changed files with 54 additions and 17 deletions
+6 -1
View File
@@ -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;
}
}
/**