Passage de getAll vers getFromTableWhere
This commit is contained in:
parent
66dfb04f7f
commit
a7293d7530
|
@ -310,7 +310,7 @@
|
||||||
{
|
{
|
||||||
$this->wlog('Password is valid');
|
$this->wlog('Password is valid');
|
||||||
//On va passer en revue toutes les commandes, pour voir si on en trouve dans ce message
|
//On va passer en revue toutes les commandes, pour voir si on en trouve dans ce message
|
||||||
$commands = $db->getAll('commands');
|
$commands = $db->getFromTableWhere('commands');
|
||||||
|
|
||||||
$this->wlog('We found ' . count($commands) . ' commands');
|
$this->wlog('We found ' . count($commands) . ' commands');
|
||||||
foreach ($commands as $command)
|
foreach ($commands as $command)
|
||||||
|
|
Loading…
Reference in New Issue