X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=application%2FUpdater.php;h=03d93a6f98ac22d543b243005b3ee185a797e58c;hb=b4189928f84758e1589715dfe04e2d966a4f3b88;hp=0fb68c5aa151bedffe10e5c79e8207997ee812de;hpb=dcc85ea619ee728361c62b2b7a7cc8f37081dfbf;p=github%2Fshaarli%2FShaarli.git diff --git a/application/Updater.php b/application/Updater.php index 0fb68c5a..03d93a6f 100644 --- a/application/Updater.php +++ b/application/Updater.php @@ -440,6 +440,17 @@ class Updater $this->conf->write($this->isLoggedIn); return true; } + + /** + * Reset history store file due to date format change. + */ + public function updateMethodResetHistoryFile() + { + if (is_file($this->conf->get('resource.history'))) { + unlink($this->conf->get('resource.history')); + } + return true; + } } /**