a few styleguide fixes

This commit is contained in:
Frank Karlitschek 2013-10-07 12:27:02 +02:00
parent 72b30e3e45
commit 3f29e4ebea
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ class OC_Util {
* @description load the version.php into the session as cache * @description load the version.php into the session as cache
*/ */
private static function loadVersion() { private static function loadVersion() {
$timestamp=filemtime(OC::$SERVERROOT.'/version.php'); $timestamp = filemtime(OC::$SERVERROOT.'/version.php');
if(!\OC::$server->getSession()->exists('OC_Version') or OC::$server->getSession()->get('OC_Version_Timestamp')<>$timestamp) { if(!\OC::$server->getSession()->exists('OC_Version') or OC::$server->getSession()->get('OC_Version_Timestamp') != $timestamp) {
require 'version.php'; require 'version.php';
$session = \OC::$server->getSession(); $session = \OC::$server->getSession();
/** @var $timestamp int */ /** @var $timestamp int */