From 4c3b27da5c3498498f30290a4281db815b185aca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julius=20H=C3=A4rtl?= Date: Thu, 15 Jun 2017 12:46:51 +0200 Subject: [PATCH] Do not open version file again MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/private/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5