Skip to content

Commit

Permalink
MDL-45619 repository: Don't allow repository_recent to be uninstalled
Browse files Browse the repository at this point in the history
We have tests that depends on it and it
is a simple repo that can just be disabled.
  • Loading branch information
David Monllao committed Mar 25, 2015
1 parent c34e3ca commit be39358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/plugininfo/repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function get_manage_url() {
* @return boolean
*/
public function is_uninstall_allowed() {
if ($this->name === 'upload' || $this->name === 'coursefiles' || $this->name === 'user') {
if ($this->name === 'upload' || $this->name === 'coursefiles' || $this->name === 'user' || $this->name === 'recent') {
return false;
} else {
return true;
Expand Down

0 comments on commit be39358

Please sign in to comment.