From: Paladox Date: Mon, 2 Dec 2019 22:33:08 +0000 (+0000) Subject: Avoid using deprecated phpredis::delete() alias X-Git-Tag: 1.31.6~11 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;ds=inline;h=1785f7b24bb34b81b7d6045171421a51ca69ae3b;hp=228d796b1d6299ccd39418e85f40437292b47dd4;p=lhc%2Fweb%2Fwiklou.git Avoid using deprecated phpredis::delete() alias Bug: T227461 Change-Id: I5eb2fa42d61e4757b11b6eb909c04dafb40923a1 --- diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 7dad014e45..34aba8adc4 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -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;