aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-18 15:26:54 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-12-18 15:26:54 +0100
commited98cdf532ae475f4d5f5ec88afa55972cba3ba2 (patch)
tree10b3d7ce4862c6336938aee98efb7a9d34729048 /core/js/config.php
parenta743047e8228fb4973d99e0101dec5e6c39f81b9 (diff)
downloadnextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.tar.gz
nextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.zip
Use OCP\Util::getVersion instead of the internal private implementation
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php
index e51ae903729..c975c6db2dc 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -138,7 +138,7 @@ $array = array(
array(
'session_lifetime' => min(\OCP\Config::getSystemValue('session_lifetime', OC::$server->getIniWrapper()->getNumeric('session.gc_maxlifetime')), OC::$server->getIniWrapper()->getNumeric('session.gc_maxlifetime')),
'session_keepalive' => \OCP\Config::getSystemValue('session_keepalive', true),
- 'version' => implode('.', OC_Util::getVersion()),
+ 'version' => implode('.', \OCP\Util::getVersion()),
'versionstring' => OC_Util::getVersionString(),
'enable_avatars' => \OC::$server->getConfig()->getSystemValue('enable_avatars', true),
'lost_password_link'=> \OC::$server->getConfig()->getSystemValue('lost_password_link', null),