Marius Cramer
2014-02-24 a1918e5a22a600e3b88a9ab3959d05770216a99b
server/lib/classes/db_mysql.inc.php
@@ -269,11 +269,11 @@
   }
   public function queryOne($sQuery = '') {
      return $this->query_one($sQuery);
      return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
   }
   public function query_one($sQuery = '') {
      return $this->queryOneRecord($sQuery);
      return call_user_func_array(array(&$this, 'queryOneRecord'), func_get_args());
   }
   /**
@@ -302,11 +302,11 @@
   }
   public function queryAll($sQuery = '') {
      return $this->queryAllRecords($sQuery);
      return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
   }
   public function query_all($sQuery = '') {
      return $this->queryAllRecords($sQuery);
      return call_user_func_array(array(&$this, 'queryAllRecords'), func_get_args());
   }
   /**
@@ -335,7 +335,7 @@
   }
   public function query_all_array($sQuery = '') {
      return $this->queryAllArray($sQuery);
      return call_user_func_array(array(&$this, 'queryAllArray'), func_get_args());
   }
@@ -424,7 +424,7 @@
      if($this->show_error_messages && $conf['demo_mode'] === false) {
         echo $sErrormsg . $sAddMsg;
      } else if(is_object($app) && method_exists($app, 'log')) {
            $app->log($sErrormsg . $sAddMsg, LOGLEVEL_WARN);
            $app->log($sErrormsg . $sAddMsg . ' -> ' . $mysql_errno . ' (' . $mysql_error . ')', LOGLEVEL_WARN);
         }
   }