mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Merge pull request #313 from petrkotek/petrkotek-patch-1
Resque_Redis: use `&&` rather than `and`
This commit is contained in:
commit
a03f00f2a0
@ -98,7 +98,7 @@ class Resque_Redis
|
|||||||
*/
|
*/
|
||||||
public static function prefix($namespace)
|
public static function prefix($namespace)
|
||||||
{
|
{
|
||||||
if (substr($namespace, -1) !== ':' and $namespace != '') {
|
if (substr($namespace, -1) !== ':' && $namespace != '') {
|
||||||
$namespace .= ':';
|
$namespace .= ':';
|
||||||
}
|
}
|
||||||
self::$defaultNamespace = $namespace;
|
self::$defaultNamespace = $namespace;
|
||||||
|
Loading…
Reference in New Issue
Block a user