Browse Source

Nothing fancy, and hardly an optimization.

Daniele Alessandri 14 years ago
parent
commit
d270205a8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -508,7 +508,7 @@ class ResponseStatusHandler implements IResponseHandler {
         if ($status === Protocol::OK) {
         if ($status === Protocol::OK) {
             return true;
             return true;
         }
         }
-        else if ($status === Protocol::QUEUED) {
+        if ($status === Protocol::QUEUED) {
             return new ResponseQueued();
             return new ResponseQueued();
         }
         }
         return $status;
         return $status;