Reset the history file due to datetime format change

This commit is contained in:
ArthurHoaro 2017-05-07 16:52:38 +02:00
parent 813849e521
commit 57ce6dae5d
1 changed files with 11 additions and 0 deletions

View File

@ -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;
}
}
/**