diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-11-11 14:01:21 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-07-05 20:31:35 +0200 |
commit | e85b7a05a177f803ae36ba5c12835313f31177bc (patch) | |
tree | 99216fbcb3343b74eac2589d14bf75c0a6d5fb01 /application/Updater.php | |
parent | a3724717ec37d4bd54dc117ef439c8a182157882 (diff) | |
download | Shaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.tar.gz Shaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.tar.zst Shaarli-e85b7a05a177f803ae36ba5c12835313f31177bc.zip |
Update thumbnail integration after rebasing the branch
Diffstat (limited to 'application/Updater.php')
-rw-r--r-- | application/Updater.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/application/Updater.php b/application/Updater.php index dece2c02..6fbe3e00 100644 --- a/application/Updater.php +++ b/application/Updater.php | |||
@@ -480,7 +480,19 @@ class Updater | |||
480 | } | 480 | } |
481 | 481 | ||
482 | $this->conf->write($this->isLoggedIn); | 482 | $this->conf->write($this->isLoggedIn); |
483 | return true; | ||
484 | } | ||
483 | 485 | ||
486 | /** | ||
487 | * * Move thumbnails management to WebThumbnailer, coming with new settings. | ||
488 | */ | ||
489 | public function updateMethodWebThumbnailer() | ||
490 | { | ||
491 | $this->conf->set('thumbnails.enabled', $this->conf->get('thumbnail.enable_thumbnails', true)); | ||
492 | $this->conf->set('thumbnails.width', 125); | ||
493 | $this->conf->set('thumbnails.height', 90); | ||
494 | $this->conf->remove('thumbnail'); | ||
495 | $this->conf->write(true); | ||
484 | return true; | 496 | return true; |
485 | } | 497 | } |
486 | } | 498 | } |