mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
Resque_Redis: use &&
rather than and
This commit is contained in:
parent
3c5dac8789
commit
b054df780f
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) !== ':' and $namespace != '') {
|
if (substr($namespace, -1) !== ':' && $namespace != '') {
|
||||||
$namespace .= ':';
|
$namespace .= ':';
|
||||||
}
|
}
|
||||||
self::$defaultNamespace = $namespace;
|
self::$defaultNamespace = $namespace;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue