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

View file

@ -440,6 +440,17 @@ public function updateMethodCheckUpdateRemoteBranch()
$this->conf->write($this->isLoggedIn); $this->conf->write($this->isLoggedIn);
return true; 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;
}
} }
/** /**