Merge pull request #7602 from owncloud/flush-updater-cache

Reset time of last update feed polling after successful update
This commit is contained in:
Vincent Petry 2014-03-10 19:54:00 +01:00
commit 1cde17d60b
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ class Updater extends BasicEmitter {
$repair = new Repair();
$repair->run();
//Invalidate update feed
\OC_Appconfig::setValue('core', 'lastupdatedat', 0);
\OC_Config::setValue('maintenance', false);
$this->emit('\OC\Updater', 'maintenanceEnd');
}