diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-10-07 12:27:02 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-10-07 12:27:02 +0200 |
commit | 3f29e4ebeab9fee22ca16656388080e3be92cc12 (patch) | |
tree | 43225f2934670c9e64cf9f0e319a6e225417450a /lib/private/util.php | |
parent | 72b30e3e453bb6500278391861d52a084e96e988 (diff) | |
download | nextcloud-server-3f29e4ebeab9fee22ca16656388080e3be92cc12.tar.gz nextcloud-server-3f29e4ebeab9fee22ca16656388080e3be92cc12.zip |
a few styleguide fixes
Diffstat (limited to 'lib/private/util.php')
-rwxr-xr-x | lib/private/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |