summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-06-15 12:46:51 +0200
committerJulius Härtl <jus@bitgrid.net>2017-06-15 12:46:51 +0200
commit0999ed1778d7b1d95e4fb45b5d28162f2cc4d985 (patch)
treec832e6dae4f8711f973dab8e92fcdf25658ba9a1 /lib/private/Server.php
parent0789adaf95d2cfea8d661812b7dd964b0611495b (diff)
downloadnextcloud-server-0999ed1778d7b1d95e4fb45b5d28162f2cc4d985.tar.gz
nextcloud-server-0999ed1778d7b1d95e4fb45b5d28162f2cc4d985.zip
Do not open version file again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Server.php')
-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;