mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Merge pull request #2828 from nextcloud/only-show-version
Only show version in settings
This commit is contained in:
commit
6b94da7594
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue