MDL-46472 theme: Removing standard as an uninstallable theme

This commit is contained in:
David Monllao
2014-12-12 13:34:33 +08:00
parent 9258886927
commit a867a557c2
+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;
}