mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 00:11:53 +00:00
Merge pull request #304 from TeachersPayTeachers/master
Allow empty prefix
This commit is contained in:
commit
d341f11254
@ -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…
Reference in New Issue
Block a user