Reset time of last update feed polling

This commit is contained in:
Victor Dubiniuk 2014-03-06 18:19:58 +03:00
parent 256dca935b
commit 242cbb802a

View file

@ -134,6 +134,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');
}