mirror of
https://github.com/predis/predis.git
synced 2026-08-26 09:59:53 +00:00
Remove erroneous duplication of INFO in Redis profiles.
This oversight didn't end up in a blatant bug only because the correct
handler definition for INFO replaced the old class in the profile.
Backported from 5065541 (master).
This commit is contained in:
@@ -111,7 +111,7 @@ class ServerVersion26 extends ServerProfile
|
||||
'quit' => 'Predis\Command\ConnectionQuit',
|
||||
|
||||
/* remote server control commands */
|
||||
'info' => 'Predis\Command\ServerInfo',
|
||||
'info' => 'Predis\Command\ServerInfoV26x',
|
||||
'slaveof' => 'Predis\Command\ServerSlaveOf',
|
||||
'monitor' => 'Predis\Command\ServerMonitor',
|
||||
'dbsize' => 'Predis\Command\ServerDatabaseSize',
|
||||
@@ -227,7 +227,6 @@ class ServerVersion26 extends ServerProfile
|
||||
'script' => 'Predis\Command\ServerScript',
|
||||
|
||||
/* remote server control commands */
|
||||
'info' => 'Predis\Command\ServerInfoV26x',
|
||||
'time' => 'Predis\Command\ServerTime',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -111,7 +111,7 @@ class ServerVersion28 extends ServerProfile
|
||||
'quit' => 'Predis\Command\ConnectionQuit',
|
||||
|
||||
/* remote server control commands */
|
||||
'info' => 'Predis\Command\ServerInfo',
|
||||
'info' => 'Predis\Command\ServerInfoV26x',
|
||||
'slaveof' => 'Predis\Command\ServerSlaveOf',
|
||||
'monitor' => 'Predis\Command\ServerMonitor',
|
||||
'dbsize' => 'Predis\Command\ServerDatabaseSize',
|
||||
@@ -227,7 +227,6 @@ class ServerVersion28 extends ServerProfile
|
||||
'script' => 'Predis\Command\ServerScript',
|
||||
|
||||
/* remote server control commands */
|
||||
'info' => 'Predis\Command\ServerInfoV26x',
|
||||
'time' => 'Predis\Command\ServerTime',
|
||||
|
||||
/* ---------------- Redis 2.8 ---------------- */
|
||||
|
||||
Reference in New Issue
Block a user