]> git.mxchange.org Git - friendica.git/commitdiff
Deactivating the test output in db engine
authorMichael Vogel <icarus@dabo.de>
Sat, 26 May 2012 01:23:18 +0000 (03:23 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 26 May 2012 01:23:18 +0000 (03:23 +0200)
include/dba.php

index c19d4a8fc94b2b30272d4037c90d0ec91fb5828c..7ecce7270446308126303afd6949362d913973ce 100644 (file)
@@ -77,14 +77,14 @@ class dba {
 
                $this->error = '';
 
-               @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND);
+               //@file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND);
 
                if($this->mysqli)
                        $result = @$this->db->query($sql);
                else
                        $result = @mysql_query($sql,$this->db);
 
-               @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND);
+               //@file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND);
 
                if($this->mysqli) {
                        if($this->db->errno)