diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/Updater.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/application/Updater.php b/application/Updater.php index 90aba745..3f5d325b 100644 --- a/application/Updater.php +++ b/application/Updater.php | |||
@@ -324,6 +324,20 @@ class Updater | |||
324 | 324 | ||
325 | return rename('inc/user.css', 'data/user.css'); | 325 | return rename('inc/user.css', 'data/user.css'); |
326 | } | 326 | } |
327 | |||
328 | /** | ||
329 | * While the new default theme is in an unstable state | ||
330 | * continue to use the vintage theme | ||
331 | */ | ||
332 | public function updateMethodDefaultThemeVintage() | ||
333 | { | ||
334 | if ($this->conf->get('resource.theme') !== 'default') { | ||
335 | return true; | ||
336 | } | ||
337 | $this->conf->set('resource.theme', 'vintage'); | ||
338 | $this->conf->write($this->isLoggedIn); | ||
339 | return true; | ||
340 | } | ||
327 | } | 341 | } |
328 | 342 | ||
329 | /** | 343 | /** |