Jelajahi Sumber

Fixed a bug in the registration of the RPOPLPUSH command.

Daniele Alessandri 15 tahun lalu
induk
melakukan
a35faf2df6
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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',
 
             /* commands operating on lists */
-            'rpoplpush'        => '\Predis\Commands\ListPushTailPopFirst',
+            'rpoplpush'        => '\Predis\Commands\ListPopLastPushHead',
                 'listPopLastPushHead'  => '\Predis\Commands\ListPopLastPushHead',
 
             /* commands operating on sorted sets */