]> source.dussan.org Git - nextcloud-server.git/commitdiff
write channel to config file when changed 1500/head
authorMorris Jobke <hey@morrisjobke.de>
Fri, 23 Sep 2016 12:20:53 +0000 (14:20 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 26 Sep 2016 11:48:05 +0000 (13:48 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
lib/public/Util.php

index aa8e5288c74c09954ac9cda198858496e52078cb..d5b0752553d3470302d8f0f14560059b73e7916c 100644 (file)
@@ -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);
        }
        
        /**