Переглянути джерело

Fixed a bug in the registration of the RPOPLPUSH command.

Daniele Alessandri 15 роки тому
батько
коміт
a35faf2df6
1 змінених файлів з 1 додано та 1 видалено
  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 */