From: Paladox Date: Mon, 2 Dec 2019 22:33:08 +0000 (+0000) Subject: Avoid using deprecated phpredis::delete() alias X-Git-Tag: 1.34.0~13 X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=dc1664763bda0652651494aa4bbf74b04914429a Avoid using deprecated phpredis::delete() alias Bug: T227461 Change-Id: I5eb2fa42d61e4757b11b6eb909c04dafb40923a1 --- 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;