Merge pull request #2828 from nextcloud/only-show-version

Only show version in settings
This commit is contained in:
Roeland Jago Douma 2016-12-22 15:21:10 +01:00 committed by GitHub
commit 6b94da7594

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;