summaryrefslogtreecommitdiffstats
path: root/lib/base.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 /lib/base.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 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index c0db0454f6a..ce4546e8fa3 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -377,7 +377,7 @@ class OC {
// check whether this is a core update or apps update
$installedVersion = $systemConfig->getValue('version', '0.0.0');
- $currentVersion = implode('.', OC_Util::getVersion());
+ $currentVersion = implode('.', \OCP\Util::getVersion());
$appManager = \OC::$server->getAppManager();
@@ -392,7 +392,7 @@ class OC {
}
// get third party apps
- $ocVersion = OC_Util::getVersion();
+ $ocVersion = \OCP\Util::getVersion();
$tmpl->assign('appsToUpgrade', $appManager->getAppsNeedingUpgrade($ocVersion));
$tmpl->assign('incompatibleAppsList', $appManager->getIncompatibleApps($ocVersion));
$tmpl->assign('productName', 'ownCloud'); // for now