From: Frank Karlitschek Date: Mon, 7 Oct 2013 10:27:02 +0000 (+0200) Subject: a few styleguide fixes X-Git-Tag: v6.0.0alpha2~76^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3f29e4ebeab9fee22ca16656388080e3be92cc12;p=nextcloud-server.git a few styleguide fixes --- diff --git a/lib/private/util.php b/lib/private/util.php index 1718ae6a041..e2093a230c0 100755 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -182,8 +182,8 @@ class OC_Util { * @description load the version.php into the session as cache */ private static function loadVersion() { - $timestamp=filemtime(OC::$SERVERROOT.'/version.php'); - if(!\OC::$server->getSession()->exists('OC_Version') or OC::$server->getSession()->get('OC_Version_Timestamp')<>$timestamp) { + $timestamp = filemtime(OC::$SERVERROOT.'/version.php'); + if(!\OC::$server->getSession()->exists('OC_Version') or OC::$server->getSession()->get('OC_Version_Timestamp') != $timestamp) { require 'version.php'; $session = \OC::$server->getSession(); /** @var $timestamp int */