Avoid using deprecated phpredis::delete() alias
[lhc/web/wiklou.git] / includes / jobqueue / JobQueueRedis.php
index 569a5d4..ba00463 100644 (file)
@@ -503,7 +503,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;