diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-09 18:22:31 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-05-09 18:22:31 +0200 |
commit | 845810a8d3c2ad5836f12516a6f38e7720bb0f4d (patch) | |
tree | 2cf900aeeb57914dcf75652246ce6ee4d159623a /application/Updater.php | |
parent | bf67ac345f588130e98e784b4ee4740b0dad83fc (diff) | |
download | Shaarli-845810a8d3c2ad5836f12516a6f38e7720bb0f4d.tar.gz Shaarli-845810a8d3c2ad5836f12516a6f38e7720bb0f4d.tar.zst Shaarli-845810a8d3c2ad5836f12516a6f38e7720bb0f4d.zip |
Use the new 'default' theme... as default
Fixes #866
Diffstat (limited to 'application/Updater.php')
-rw-r--r-- | application/Updater.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/application/Updater.php b/application/Updater.php index 03d93a6f..40a15906 100644 --- a/application/Updater.php +++ b/application/Updater.php | |||
@@ -329,21 +329,6 @@ class Updater | |||
329 | } | 329 | } |
330 | 330 | ||
331 | /** | 331 | /** |
332 | * While the new default theme is in an unstable state | ||
333 | * continue to use the vintage theme | ||
334 | */ | ||
335 | public function updateMethodDefaultThemeVintage() | ||
336 | { | ||
337 | if ($this->conf->get('resource.theme') !== 'default') { | ||
338 | return true; | ||
339 | } | ||
340 | $this->conf->set('resource.theme', 'vintage'); | ||
341 | $this->conf->write($this->isLoggedIn); | ||
342 | |||
343 | return true; | ||
344 | } | ||
345 | |||
346 | /** | ||
347 | * * `markdown_escape` is a new setting, set to true as default. | 332 | * * `markdown_escape` is a new setting, set to true as default. |
348 | * | 333 | * |
349 | * If the markdown plugin was already enabled, escaping is disabled to avoid | 334 | * If the markdown plugin was already enabled, escaping is disabled to avoid |