mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-24 17:25:13 +00:00
Allow empty prefix
This commit is contained in:
parent
15a14d8a86
commit
ae308ff1fd
@ -98,7 +98,7 @@ class Resque_Redis
|
||||
*/
|
||||
public static function prefix($namespace)
|
||||
{
|
||||
if (substr($namespace, -1) !== ':') {
|
||||
if (substr($namespace, -1) !== ':' and $namespace != '') {
|
||||
$namespace .= ':';
|
||||
}
|
||||
self::$defaultNamespace = $namespace;
|
||||
|
Loading…
Reference in New Issue
Block a user