]> 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>
Fri, 14 Jun 2013 11:17:15 +0000 (13:17 +0200)
lib/files/cache/cache.php
lib/setup.php

index 51912ffd315925326754a0a9cfa678fc9402bf81..9928a84798c3bec7a538db7785a3281ae0b27ef5 100644 (file)
@@ -162,7 +162,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) {
@@ -382,7 +382,7 @@ class Cache {
                $query = \OC_DB::prepare('SELECT `size` FROM `*PREFIX*filecache` WHERE `storage` = ? AND `path_hash` = ?');
                $result = $query->execute(array($this->numericId, $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) {
@@ -524,7 +524,7 @@ class Cache {
                        . ' WHERE `storage` = ? AND `size` = -1 ORDER BY `fileid` DESC',1);
                $result = $query->execute(array($this->numericId));
                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 6522b45cf679efd50b32e1fb6961ac800902c875..c4817286b066244d563a1ddf432b3a24eae85d87 100644 (file)
@@ -455,7 +455,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();