Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f06fff
)
MDL-46472 theme: Removing standard as an uninstallable theme
author
David Monllao
<davidm@moodle.com>
Mon, 8 Dec 2014 05:02:38 +0000
(13:02 +0800)
committer
David Monllao
<davidm@moodle.com>
Fri, 12 Dec 2014 05:32:55 +0000
(13:32 +0800)
lib/classes/plugininfo/theme.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/classes/plugininfo/theme.php
b/lib/classes/plugininfo/theme.php
index
f7a5868
..
2c6a5c0
100644
(file)
--- a/
lib/classes/plugininfo/theme.php
+++ b/
lib/classes/plugininfo/theme.php
@@
-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;
}