mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 21:52:21 +00:00
Allow empty prefix
This commit is contained in:
parent
15a14d8a86
commit
ae308ff1fd
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Resque_Redis
|
||||||
*/
|
*/
|
||||||
public static function prefix($namespace)
|
public static function prefix($namespace)
|
||||||
{
|
{
|
||||||
if (substr($namespace, -1) !== ':') {
|
if (substr($namespace, -1) !== ':' and $namespace != '') {
|
||||||
$namespace .= ':';
|
$namespace .= ':';
|
||||||
}
|
}
|
||||||
self::$defaultNamespace = $namespace;
|
self::$defaultNamespace = $namespace;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue