]> source.dussan.org Git - nextcloud-server.git/commitdiff
a few styleguide fixes
authorFrank Karlitschek <frank@owncloud.org>
Mon, 7 Oct 2013 10:27:02 +0000 (12:27 +0200)
committerFrank Karlitschek <frank@owncloud.org>
Mon, 7 Oct 2013 10:27:02 +0000 (12:27 +0200)
lib/private/util.php

index 1718ae6a0413aeb8b3f9399933a22b3118e2c52e..e2093a230c020edf619d3e59a5575268b5dfa72d 100755 (executable)
@@ -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 */