Actions
Bug #56208
closedRemove redundant method admin_query or sql_query
Status:
Rejected
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2014-02-22
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
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().
Actions