7.4 compatibility

This commit is contained in:
Lorenzo Yario 2024-12-22 14:15:40 -06:00 committed by GitHub
parent f3f7c0c75c
commit 2466a3d859
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ class Queues {
};
}
public static function get_queue(array $config, string $name): Queue|false {
public static function get_queue(array $config, string $name) {
if (!isset(self::$queues[$name])) {
if ($config['queue']['enabled'] == 'fs') {
$lock = Locks::get_lock($config, $name);