Code Duplication    Length = 9-9 lines in 2 locations

Classes/Database/DatabaseConnection.php 2 locations

@@ 1070-1078 (lines=9) @@
1067
     * @param string $query Query to execute
1068
     * @return bool|\mysqli_result|object MySQLi result object / DBAL object
1069
     */
1070
    public function sql_query($query)
1071
    {
1072
        $this->logDeprecation();
1073
        $res = $this->query($query);
1074
        if ($this->debugOutput) {
1075
            $this->debug('sql_query', $query);
1076
        }
1077
        return $res;
1078
    }
1079
1080
    /**
1081
     * Returns the error status on the last query() execution
@@ 1499-1507 (lines=9) @@
1496
     * @param string $query Query to execute
1497
     * @return bool|\mysqli_result|object MySQLi result object / DBAL object
1498
     */
1499
    public function admin_query($query)
1500
    {
1501
        $this->logDeprecation();
1502
        $res = $this->query($query);
1503
        if ($this->debugOutput) {
1504
            $this->debug('admin_query', $query);
1505
        }
1506
        return $res;
1507
    }
1508
1509
    /******************************
1510
     *