]> source.dussan.org Git - nextcloud-server.git/commitdiff
cleanup codestyle
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 8 May 2013 14:29:15 +0000 (16:29 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 22 May 2013 11:59:08 +0000 (13:59 +0200)
lib/files/cache/cache.php
lib/setup.php

index adffe766ddd712172193b1b6a5d92f0275d228da..3341fe50525991fbb9f7af757407c1edee4ff629 100644 (file)
@@ -148,7 +148,7 @@ class Cache {
                                 FROM `*PREFIX*filecache` WHERE `parent` = ? ORDER BY `name` ASC');
                        $result = $query->execute(array($fileId));
                        if (\OC_DB::isError($result)) {
-                               \OCP\Util::writeLog('cache', 'getFolderContents failed: '.$result->getMessage(), \OCP\Util::ERROR);
+                               \OCP\Util::writeLog('cache', 'getFolderContents failed: ' . $result->getMessage(), \OCP\Util::ERROR);
                        }
                        $files = $result->fetchAll();
                        foreach ($files as &$file) {
@@ -376,7 +376,7 @@ class Cache {
                $query = \OC_DB::prepare('SELECT `size` FROM `*PREFIX*filecache` WHERE `storage` = ? AND `path_hash` = ?');
                $result = $query->execute(array($this->getNumericStorageId(), $pathHash));
                if( \OC_DB::isError($result)) {
-                       \OCP\Util::writeLog('cache', 'get status failed: '.$result->getMessage(), \OCP\Util::ERROR);
+                       \OCP\Util::writeLog('cache', 'get status failed: ' . $result->getMessage(), \OCP\Util::ERROR);
                }
                if ($row = $result->fetchRow()) {
                        if ((int)$row['size'] === -1) {
@@ -518,7 +518,7 @@ class Cache {
                        . ' WHERE `storage` = ? AND `size` = -1 ORDER BY `fileid` DESC',1);
                $result = $query->execute(array($this->getNumericStorageId()));
                if (\OC_DB::isError($result)) {
-                       \OCP\Util::writeLog('cache', 'getIncomplete failed: '.$result->getMessage(), \OCP\Util::ERROR);
+                       \OCP\Util::writeLog('cache', 'getIncomplete failed: ' . $result->getMessage(), \OCP\Util::ERROR);
                }
                if ($row = $result->fetchRow()) {
                        return $row['path'];
index 6f608ec5fb14b737b95db147bcc4e5ebdada1c0c..a63cc664dbcabebb7ed0ec3fb18e4e3956228700 100644 (file)
@@ -456,7 +456,7 @@ class OC_Setup {
                } else {
                        $easy_connect_string = '//'.$e_host.'/'.$e_dbname;
                }
-               \OC_Log::write('setup oracle', 'connect string: '.$easy_connect_string, \OC_Log::DEBUG);
+               \OC_Log::write('setup oracle', 'connect string: ' . $easy_connect_string, \OC_Log::DEBUG);
                $connection = @oci_connect($dbuser, $dbpass, $easy_connect_string);
                if(!$connection) {
                        $e = oci_error();