[Pkg-owncloud-commits] [owncloud] 39/134: Reset time of last update feed polling
David Prévot
taffit at moszumanska.debian.org
Fri Apr 18 21:43:58 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 37e19534f1de779fe60c019414747f58aabefac8
Author: Victor Dubiniuk <victor.dubiniuk at gmail.com>
Date: Thu Mar 6 18:19:58 2014 +0300
Reset time of last update feed polling
---
lib/private/updater.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/updater.php b/lib/private/updater.php
index c7dc478..841278b 100644
--- a/lib/private/updater.php
+++ b/lib/private/updater.php
@@ -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');
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list