Code Duplication    Length = 7-7 lines in 3 locations

includes/classes/db_mysql.php 3 locations

@@ 704-710 (lines=7) @@
701
   *
702
   * @return bool|mysqli_stmt
703
   */
704
  public function db_prepare($statement) {
705
    $microtime = microtime(true);
706
    $result = $this->driver->mysql_prepare($statement);
707
    $this->time_mysql_total += microtime(true) - $microtime;
708
709
    return $result;
710
  }
711
712
713
  /**
@@ 720-726 (lines=7) @@
717
   *
718
   * @return bool|mysqli_result
719
   */
720
  public function db_sql_query($query_string) {
721
    $microtime = microtime(true);
722
    $result = $this->driver->mysql_query($query_string);
723
    $this->time_mysql_total += microtime(true) - $microtime;
724
725
    return $result;
726
  }
727
728
  /**
729
   * L1 fetch assoc array
@@ 735-741 (lines=7) @@
732
   *
733
   * @return array|null
734
   */
735
  public function db_fetch(&$query) {
736
    $microtime = microtime(true);
737
    $result = $this->driver->mysql_fetch_assoc($query);
738
    $this->time_mysql_total += microtime(true) - $microtime;
739
740
    return $result;
741
  }
742
743
  public function db_fetch_row(&$query) {
744
    return $this->driver->mysql_fetch_row($query);