Fixed IDE warning in doIsRootJobOldDuplicate()
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 14 Aug 2015 23:32:04 +0000 (16:32 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 14 Aug 2015 23:32:04 +0000 (16:32 -0700)
Change-Id: I95110dff0755336d9bb245503e4ae856171064fc

includes/jobqueue/JobQueueRedis.php

index e021d99..a42d3f9 100644 (file)
@@ -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 );
                }