Ver Fonte

Fixed a bug in the registration of the RPOPLPUSH command.

Daniele Alessandri há 15 anos atrás
pai
commit
a35faf2df6
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -1400,7 +1400,7 @@ class RedisServer_v1_2 extends RedisServer_v1_0 {
                 'setMultiplePreserve' => '\Predis\Commands\SetMultiplePreserve',
                 'setMultiplePreserve' => '\Predis\Commands\SetMultiplePreserve',
 
 
             /* commands operating on lists */
             /* commands operating on lists */
-            'rpoplpush'        => '\Predis\Commands\ListPushTailPopFirst',
+            'rpoplpush'        => '\Predis\Commands\ListPopLastPushHead',
                 'listPopLastPushHead'  => '\Predis\Commands\ListPopLastPushHead',
                 'listPopLastPushHead'  => '\Predis\Commands\ListPopLastPushHead',
 
 
             /* commands operating on sorted sets */
             /* commands operating on sorted sets */