diff --git a/lib/classes/plugininfo/repository.php b/lib/classes/plugininfo/repository.php index a45cd6d1e86..861b24d2547 100644 --- a/lib/classes/plugininfo/repository.php +++ b/lib/classes/plugininfo/repository.php @@ -73,7 +73,7 @@ class repository extends base { * @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;