This commit is contained in:
David Monllao 2016-12-19 15:05:14 +01:00
commit ef9a1a2aff
2 changed files with 8 additions and 1 deletions

View File

@ -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
);

View File

@ -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;
}
}