MDL-46472 theme: Removing standard as an uninstallable theme

This commit is contained in:
David Monllao
2014-12-12 13:32:55 +08:00
parent 8f06fffbe1
commit ba872d3c3c
+1 -1
View 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;
}