MDL-35666 remove uninstall protocol option

This commit is contained in:
Jerome Mouneyrac
2013-04-22 12:02:39 +08:00
parent 3a8c4380c0
commit 3f308ae916
3 changed files with 3 additions and 15 deletions
+1 -6
View File
@@ -3924,12 +3924,7 @@ class plugininfo_webservice extends plugininfo_base {
}
public function is_uninstall_allowed() {
return true;
}
public function get_uninstall_url() {
return new moodle_url('/admin/webservice/protocols.php',
array('sesskey' => sesskey(), 'action' => 'uninstall', 'webservice' => $this->name));
return false;
}
}