Skip to content

Commit d99abca

Browse files
committed
MISC updates and add more params to tableManager #1170
1 parent 73654cb commit d99abca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Failer/DatabaseQueueFailer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(DatabaseAdapter $db, string $table = 'queue_failed_j
5151
*/
5252
public function isSupported(): bool
5353
{
54-
return $this->db->getTable($this->table)->exists();
54+
return $this->db->getTableManager($this->table)->exists();
5555
}
5656

5757
/**
@@ -140,7 +140,7 @@ public function remove(mixed $conditions): bool
140140
*/
141141
public function clear(): bool
142142
{
143-
$this->db->getTable($this->table)->truncate();
143+
$this->db->getTableManager($this->table)->truncate();
144144

145145
return true;
146146
}

0 commit comments

Comments
 (0)