summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 081bee3d2ba..159fab20be4 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -443,7 +443,7 @@ class Server extends ServerContainer implements IServerContainer {
if ($config->getSystemValue('installed', false) && !(defined('PHPUNIT_RUN') && PHPUNIT_RUN)) {
$v = \OC_App::getAppVersions();
- $v['core'] = md5(file_get_contents(\OC::$SERVERROOT . '/version.php'));
+ $v['core'] = implode(',', \OC_Util::getVersion());
$version = implode(',', $v);
$instanceId = \OC_Util::getInstanceId();
$path = \OC::$SERVERROOT;