diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 15:26:54 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-18 15:26:54 +0100 |
commit | ed98cdf532ae475f4d5f5ec88afa55972cba3ba2 (patch) | |
tree | 10b3d7ce4862c6336938aee98efb7a9d34729048 /core | |
parent | a743047e8228fb4973d99e0101dec5e6c39f81b9 (diff) | |
download | nextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.tar.gz nextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.zip |
Use OCP\Util::getVersion instead of the internal private implementation
Diffstat (limited to 'core')
-rw-r--r-- | core/command/status.php | 2 | ||||
-rw-r--r-- | core/js/config.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/command/status.php b/core/command/status.php index 2eb58525d3e..c2a28ff822f 100644 --- a/core/command/status.php +++ b/core/command/status.php @@ -39,7 +39,7 @@ class Status extends Base { protected function execute(InputInterface $input, OutputInterface $output) { $values = array( 'installed' => (bool) \OC::$server->getConfig()->getSystemValue('installed', false), - 'version' => implode('.', \OC_Util::getVersion()), + 'version' => implode('.', \OCP\Util::getVersion()), 'versionstring' => \OC_Util::getVersionString(), 'edition' => \OC_Util::getEditionString(), ); 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), |