Next time, i'm gonna make a get logger for each class
This commit is contained in:
parent
f86a9437c3
commit
8333f3bad7
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class DataBase extends SQLite3 {
|
||||||
@return SQLite3Result|bool
|
@return SQLite3Result|bool
|
||||||
*/
|
*/
|
||||||
public function query($qry) {
|
public function query($qry) {
|
||||||
$this->getLogger()->debug($qry);
|
Server::getInstance()->getPluginManager()->getPlugin("HideAndSeek")->getLogger()->debug($qry);
|
||||||
$res = parent::query($qry);
|
$res = parent::query($qry);
|
||||||
if($res instanceof \SQLite3Result) self::setNumRows($res);
|
if($res instanceof \SQLite3Result) self::setNumRows($res);
|
||||||
return $res;
|
return $res;
|
||||||
|
|
Loading…
Reference in a new issue