summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/css/styles.css3
-rw-r--r--lib/private/legacy/util.php8
-rw-r--r--lib/public/Util.php2
-rw-r--r--version.php2
4 files changed, 5 insertions, 10 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 20c94fcc4ae..4ab3c6f13f8 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -908,6 +908,9 @@ div.crumb.last {
font-weight: 600;
margin-right: 10px;
}
+div.crumb.ellipsized {
+ padding: 0 10px 0 5px;
+}
div.crumb a.ellipsislink {
padding: 0 !important;
position: relative;
diff --git a/lib/private/legacy/util.php b/lib/private/legacy/util.php
index cc665b5ec65..b3014ed09f3 100644
--- a/lib/private/legacy/util.php
+++ b/lib/private/legacy/util.php
@@ -428,13 +428,7 @@ class OC_Util {
*/
public static function getChannel() {
OC_Util::loadVersion();
-
- // Allow overriding update channel
- if (\OC::$server->getSystemConfig()->getValue('installed', false)) {
- self::$versionCache['OC_Channel'] = \OC::$server->getAppConfig()->getValue('core', 'OC_Channel');
- }
-
- return self::$versionCache['OC_Channel'];
+ return \OC::$server->getConfig()->getSystemValue('updater.release.channel', self::$versionCache['OC_Channel']);
}
/**
diff --git a/lib/public/Util.php b/lib/public/Util.php
index 8a7c8997613..edda6c23261 100644
--- a/lib/public/Util.php
+++ b/lib/public/Util.php
@@ -82,8 +82,6 @@ class Util {
* @since 8.1.0
*/
public static function setChannel($channel) {
- //Flush timestamp to reload version.php
- \OC::$server->getAppConfig()->setValue('core', 'OC_Channel', $channel);
\OC::$server->getConfig()->setSystemValue('updater.release.channel', $channel);
}
diff --git a/version.php b/version.php
index bb44d3f2647..ddc83aa095f 100644
--- a/version.php
+++ b/version.php
@@ -33,7 +33,7 @@ $OC_VersionString = '11.0 beta 2';
$OC_VersionCanBeUpgradedFrom = array(9, 1);
-// The ownCloud channel
+// default Nextcloud channel
$OC_Channel = 'git';
// The build number