Only show version in settings - do not list channel

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2016-12-22 14:19:29 +01:00
parent 7f8d22e710
commit 44052210a2
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A

View file

@ -1381,12 +1381,12 @@ class OC_Util {
}
/**
* A human readable string is generated based on version, channel and build number
* A human readable string is generated based on version and build number
*
* @return string
*/
public static function getHumanVersion() {
$version = OC_Util::getVersionString() . ' (' . OC_Util::getChannel() . ')';
$version = OC_Util::getVersionString();
$build = OC_Util::getBuild();
if (!empty($build) and OC_Util::getChannel() === 'daily') {
$version .= ' Build:' . $build;