Commit 6960645
authored
Add getPausedQueues() to QueueFactory for illuminate/queue v13.11+ compatibility
illuminate/queue v13.11 added a call to getPausedQueues() in Worker.php, but Flarum's QueueFactory doesn't implement this method, causing the queue worker to crash with «Call to undefined method» and breaking all queued mail.
This adds a no-op implementation — returns empty array — consistent with the existing isPaused() pattern.1 parent 29da25d commit 6960645
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
55 | 69 | | |
0 commit comments