mirror of
https://github.com/friendica/friendica
synced 2025-04-23 05:10:11 +00:00
replace "p" with higher level database functions
This commit is contained in:
parent
948450c24b
commit
27b9da3df5
8 changed files with 30 additions and 71 deletions
|
@ -106,7 +106,7 @@ HELP;
|
|||
$this->errored = 0;
|
||||
|
||||
do {
|
||||
$result = $this->dba->p('SELECT `id`, `parameter` FROM `workerqueue` WHERE `command` = "APDelivery" AND `parameter` LIKE "[\"%\",\"\",%" LIMIT ' . $this->examined . ', 100');
|
||||
$result = $this->dba->select('workerqueue', ['id', 'parameter'], ["`command` = ? AND `parameter` LIKE ?", "APDelivery", "[\"%\",\"\",%"], ['limit' => [$this->examined, 100]]);
|
||||
while ($row = $this->dba->fetch($result)) {
|
||||
$this->examined++;
|
||||
$this->processRow($row);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue