1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

fix: minor backward compatible fix for php 8.1 in st_replace

This commit is contained in:
Daniël Klabbers
2022-07-19 01:09:43 +02:00
parent ffaea861e5
commit 07b2f86dcc

View File

@@ -159,7 +159,7 @@ class InfoCommand extends AbstractCommand
// Lowercase the class name // Lowercase the class name
$queue = strtolower($queue); $queue = strtolower($queue);
// Drop everything like queue SyncQueue, RedisQueue // Drop everything like queue SyncQueue, RedisQueue
$queue = str_replace('queue', null, $queue); $queue = str_replace('queue', '', $queue);
return $queue; return $queue;
} }