Move the definition of the OBJECT commad to the server profile for Redis 2.2.

This commit is contained in:
Daniele Alessandri
2011-04-06 18:51:52 +02:00
parent 2a47dc8275
commit 6e2bba3ddb
2 changed files with 3 additions and 1 deletions
+3
View File
@@ -176,6 +176,9 @@ class ServerVersion22 extends ServerProfile {
/* commands operating on sorted sets */
'zrevrangebyscore' => '\Predis\Commands\ZSetReverseRangeByScore',
/* remote server control commands */
'object' => '\Predis\Commands\DebugObject',
);
}
}
@@ -8,7 +8,6 @@ class ServerVersionNext extends ServerVersion22 {
return array_merge(parent::getSupportedCommands(), array(
/* remote server control commands */
'info' => '\Predis\Commands\InfoV24x',
'object' => '\Predis\Commands\DebugObject',
));
}
}