Просмотр исходного кода

Fixed a bug in the registration of the RPOPLPUSH command.

Daniele Alessandri 15 лет назад
Родитель
Сommit
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 */