diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-08-07 18:16:34 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-08-07 18:17:37 +0200 |
commit | 2cc94cbc7387a7cd15803c8e3b4d450f05e7b041 (patch) | |
tree | c8058387d44fe008440beb61ebb43a8acac23171 /lib/db/statementwrapper.php | |
parent | 95a959b10b7c9dc7b0529fbb7b05c11685f19e8b (diff) | |
download | nextcloud-server-2cc94cbc7387a7cd15803c8e3b4d450f05e7b041.tar.gz nextcloud-server-2cc94cbc7387a7cd15803c8e3b4d450f05e7b041.zip |
Style fixes
Diffstat (limited to 'lib/db/statementwrapper.php')
-rw-r--r-- | lib/db/statementwrapper.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/db/statementwrapper.php b/lib/db/statementwrapper.php index f7bc45e068f..b8da1afc0e5 100644 --- a/lib/db/statementwrapper.php +++ b/lib/db/statementwrapper.php @@ -53,7 +53,7 @@ class OC_DB_StatementWrapper { */ public function execute($input=array()) { if(OC_Config::getValue( "log_query", false)) { - $params_str = str_replace("\n"," ",var_export($input,true)); + $params_str = str_replace("\n", " ", var_export($input, true)); OC_Log::write('core', 'DB execute with arguments : '.$params_str, OC_Log::DEBUG); } $this->lastArguments = $input; @@ -134,7 +134,7 @@ class OC_DB_StatementWrapper { $host = OC_Config::getValue( "dbhost", "" ); $user = OC_Config::getValue( "dbuser", "" ); $pass = OC_Config::getValue( "dbpassword", "" ); - if (strpos($host,':')) { + if (strpos($host, ':')) { list($host, $port) = explode(':', $host, 2); } else { $port = false; |