Code Duplication    Length = 7-7 lines in 2 locations

includes/classes/db_mysql.php 2 locations

@@ 326-332 (lines=7) @@
323
   *
324
   * @return bool|mysqli_result
325
   */
326
  function db_sql_query($query_string) {
327
    $microtime = microtime(true);
328
    $result = $this->driver->mysql_query($query_string);
329
    $this->time_mysql_total += microtime(true) - $microtime;
330
331
    return $result;
332
  }
333
334
  /**
335
   * L1 fetch assoc array
@@ 341-347 (lines=7) @@
338
   *
339
   * @return array|null
340
   */
341
  function db_fetch(&$query) {
342
    $microtime = microtime(true);
343
    $result = $this->driver->mysql_fetch_assoc($query);
344
    $this->time_mysql_total += microtime(true) - $microtime;
345
346
    return $result;
347
  }
348
349
  function db_fetch_row(&$query) {
350
    return $this->driver->mysql_fetch_row($query);