From: Aaron Schulz Date: Fri, 14 Aug 2015 23:32:04 +0000 (-0700) Subject: Fixed IDE warning in doIsRootJobOldDuplicate() X-Git-Tag: 1.31.0-rc.0~10394^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9bc4258ab528506973c1d0df81e7cad0c26e0ed8;p=lhc%2Fweb%2Fwiklou.git Fixed IDE warning in doIsRootJobOldDuplicate() Change-Id: I95110dff0755336d9bb245503e4ae856171064fc --- diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index e021d99b4d..a42d3f919c 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -446,6 +446,7 @@ LUA; // Get the last time this root job was enqueued $timestamp = $conn->get( $this->getRootJobCacheKey( $params['rootJobSignature'] ) ); } catch ( RedisException $e ) { + $timestamp = false; $this->throwRedisException( $conn, $e ); }