From 57ce6dae5d5c737adde277b9d43bafb68101df40 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sun, 7 May 2017 16:52:38 +0200 Subject: [PATCH] Reset the history file due to datetime format change --- application/Updater.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/application/Updater.php b/application/Updater.php index 0fb68c5..03d93a6 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; + } } /**