Code Duplication    Length = 7-7 lines in 2 locations

classes/db_mysql.php 2 locations

@@ 351-357 (lines=7) @@
348
  }
349
350
351
  function db_sql_query($query_string) {
352
    $microtime = microtime(true);
353
    $result = $this->driver->mysql_query($query_string);
354
    $this->time_mysql_total += microtime(true) - $microtime;
355
    return $result;
356
//    return $this->driver->mysql_query($query_string);
357
  }
358
359
  /**
360
   * @param mysqli_result $query_result
@@ 364-370 (lines=7) @@
361
   *
362
   * @return array|null
363
   */
364
  function db_fetch(&$query_result) {
365
    $microtime = microtime(true);
366
    $result = $this->driver->mysql_fetch_assoc($query_result);
367
    $this->time_mysql_total += microtime(true) - $microtime;
368
    return $result;
369
//    return $this->driver->mysql_fetch_assoc($query);
370
  }
371
  function db_fetch_row(&$query) {
372
    return $this->driver->mysql_fetch_row($query);
373
  }