summaryrefslogtreecommitdiffstats
path: root/lib/private/updater.php
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-03-06 18:19:58 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2014-03-06 18:19:58 +0300
commit242cbb802a980f47f4f5038154069768327e1487 (patch)
tree29b90a12a0eda1dba5e193d0a1f49bcf705d730f /lib/private/updater.php
parent256dca935bbd683515912f555cee90f8cc43b341 (diff)
downloadnextcloud-server-242cbb802a980f47f4f5038154069768327e1487.tar.gz
nextcloud-server-242cbb802a980f47f4f5038154069768327e1487.zip
Reset time of last update feed polling
Diffstat (limited to 'lib/private/updater.php')
-rw-r--r--lib/private/updater.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/updater.php b/lib/private/updater.php
index f05d5038b76..94f7ea34cba 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -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');
}