mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'MDL-56320-m' of https://github.com/micaherne/moodle
This commit is contained in:
commit
ef9a1a2aff
@ -26,3 +26,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||
$plugin->version = 2016120500; // The current plugin version (Date: YYYYMMDDXX).
|
||||
$plugin->requires = 2016112900; // Requires this Moodle version.
|
||||
$plugin->component = 'tool_mobile'; // Full name of the plugin (used for diagnostics).
|
||||
$plugin->dependencies = array(
|
||||
'webservice_rest' => 2016052300
|
||||
);
|
||||
|
@ -79,6 +79,10 @@ class webservice extends base {
|
||||
}
|
||||
|
||||
public function is_uninstall_allowed() {
|
||||
return false;
|
||||
// The xmlrpc plugin contains webservice_xmlrpc_client (used by core).
|
||||
if ($this->name == 'xmlrpc') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user