From dc1664763bda0652651494aa4bbf74b04914429a Mon Sep 17 00:00:00 2001 From: Paladox Date: Mon, 2 Dec 2019 22:33:08 +0000 Subject: [PATCH] Avoid using deprecated phpredis::delete() alias Bug: T227461 Change-Id: I5eb2fa42d61e4757b11b6eb909c04dafb40923a1 --- includes/jobqueue/JobQueueRedis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 569a5d4cb7..ba0046336f 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -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; -- 2.20.1