Avoid using deprecated phpredis::delete() alias
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueRedis.php
index 7dad014..34aba8a 100644 (file)
@@ -502,7 +502,7 @@ LUA;
                                $keys[] = $this->getQueueKey( $prop );
                        }
 
-                       $ok = ( $conn->delete( $keys ) !== false );
+                       $ok = ( $conn->del( $keys ) !== false );
                        $conn->sRem( $this->getGlobalKey( 's-queuesWithJobs' ), $this->encodeQueueName() );
 
                        return $ok;