Merge pull request #7602 from owncloud/flush-updater-cache
Reset time of last update feed polling after successful update
This commit is contained in:
commit
1cde17d60b
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue