diff options
Diffstat (limited to 'application')
-rw-r--r-- | application/Updater.php | 11 |
1 files changed, 11 insertions, 0 deletions
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 | |||
440 | $this->conf->write($this->isLoggedIn); | 440 | $this->conf->write($this->isLoggedIn); |
441 | return true; | 441 | return true; |
442 | } | 442 | } |
443 | |||
444 | /** | ||
445 | * Reset history store file due to date format change. | ||
446 | */ | ||
447 | public function updateMethodResetHistoryFile() | ||
448 | { | ||
449 | if (is_file($this->conf->get('resource.history'))) { | ||
450 | unlink($this->conf->get('resource.history')); | ||
451 | } | ||
452 | return true; | ||
453 | } | ||
443 | } | 454 | } |
444 | 455 | ||
445 | /** | 456 | /** |