MDL-46472 theme: Removing standard as an uninstallable theme
authorDavid Monllao <davidm@moodle.com>
Mon, 8 Dec 2014 05:02:38 +0000 (13:02 +0800)
committerDavid Monllao <davidm@moodle.com>
Fri, 12 Dec 2014 05:32:55 +0000 (13:32 +0800)
lib/classes/plugininfo/theme.php

index f7a5868..2c6a5c0 100644 (file)
@@ -34,7 +34,7 @@ class theme extends base {
     public function is_uninstall_allowed() {
         global $CFG;
 
-        if ($this->name === 'standard' or $this->name === 'base' or $this->name === 'bootstrapbase') {
+        if ($this->name === 'base' or $this->name === 'bootstrapbase') {
             // All of these are protected for now.
             return false;
         }