Code Duplication    Length = 7-7 lines in 3 locations

includes/classes/db_mysql.php 3 locations

@@ 716-722 (lines=7) @@
713
   *
714
   * @return bool|mysqli_stmt
715
   */
716
  public function db_prepare($statement) {
717
    $microtime = microtime(true);
718
    $result = $this->driver->mysql_prepare($statement);
719
    $this->time_mysql_total += microtime(true) - $microtime;
720
721
    return $result;
722
  }
723
724
725
  /**
@@ 732-738 (lines=7) @@
729
   *
730
   * @return bool|mysqli_result
731
   */
732
  public function db_sql_query($query_string) {
733
    $microtime = microtime(true);
734
    $result = $this->driver->mysql_query($query_string);
735
    $this->time_mysql_total += microtime(true) - $microtime;
736
737
    return $result;
738
  }
739
740
  /**
741
   * L1 fetch assoc array
@@ 747-753 (lines=7) @@
744
   *
745
   * @return array|null
746
   */
747
  public function db_fetch(&$query) {
748
    $microtime = microtime(true);
749
    $result = $this->driver->mysql_fetch_assoc($query);
750
    $this->time_mysql_total += microtime(true) - $microtime;
751
752
    return $result;
753
  }
754
755
  public function db_fetch_row(&$query) {
756
    return $this->driver->mysql_fetch_row($query);