MDL-46472 theme: Removing standard as an uninstallable theme
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user