#56208Remove redundant method admin_query or sql_query
Description
Both method doing exactly the same thing:
public function sql_query($query) {
$res = $this->query($query);
if ($this->debugOutput) {
$this->debug('sql_query', $query);
}
return $res;
}
public function admin_query($query) {
$res = $this->query($query);
if ($this->debugOutput) {
$this->debug('admin_query', $query);
}
return $res;
Can’t see the reason why we need both methods. I would prefer to remove the sql_query().
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.