From a39d5ca37d635491a1866d88087372822b64b2a8 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 23 Sep 2016 14:20:53 +0200 Subject: [PATCH] write channel to config file when changed Signed-off-by: Morris Jobke --- lib/public/Util.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/Util.php b/lib/public/Util.php index aa8e5288c7..d5b0752553 100644 --- a/lib/public/Util.php +++ b/lib/public/Util.php @@ -85,6 +85,7 @@ class Util { //Flush timestamp to reload version.php \OC::$server->getSession()->set('OC_Version_Timestamp', 0); \OC::$server->getAppConfig()->setValue('core', 'OC_Channel', $channel); + \OC::$server->getConfig()->setSystemValue('updater.release.channel', $channel); } /**