summaryrefslogtreecommitdiffstats
path: root/lib/private/ocs
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 /lib/private/ocs
parenta743047e8228fb4973d99e0101dec5e6c39f81b9 (diff)
downloadnextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.tar.gz
nextcloud-server-ed98cdf532ae475f4d5f5ec88afa55972cba3ba2.zip
Use OCP\Util::getVersion instead of the internal private implementation
Diffstat (limited to 'lib/private/ocs')
-rw-r--r--lib/private/ocs/cloud.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/ocs/cloud.php b/lib/private/ocs/cloud.php
index 2cf40c449ff..1b04f43d477 100644
--- a/lib/private/ocs/cloud.php
+++ b/lib/private/ocs/cloud.php
@@ -26,7 +26,7 @@ class OC_OCS_Cloud {
public static function getCapabilities() {
$result = array();
- list($major, $minor, $micro) = OC_Util::getVersion();
+ list($major, $minor, $micro) = \OCP\Util::getVersion();
$result['version'] = array(
'major' => $major,
'minor' => $minor,