I had to look up exactly why it'd return an array, figured someone else some day
might too
Change-Id: Iefb3a0f8292baf8846ed6a1b852432eb9daa92c2
$conn->setex( $key, $expiry, $value );
}
+ /*
+ * multi()/exec() (transactional mode) allows multiple values to
+ * be set/get at once and will return an array of results, in
+ * the order they were set/get. In this case, we only set 1
+ * value, which should (in case of success) result in true.
+ */
$result = ( $conn->exec() == array( true ) );
} catch ( RedisException $e ) {
$result = false;