From c394458b804962da8585c922256e2059c4b74c72 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Sun, 18 Mar 2012 13:00:28 +0100 Subject: [PATCH] Remove an almost useless method from Predis\Profile\ServerProfile. --- lib/Predis/Profile/ServerProfile.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/Predis/Profile/ServerProfile.php b/lib/Predis/Profile/ServerProfile.php index 29c3a116..446332e8 100644 --- a/lib/Predis/Profile/ServerProfile.php +++ b/lib/Predis/Profile/ServerProfile.php @@ -180,18 +180,6 @@ abstract class ServerProfile implements ServerProfileInterface, CommandProcessin return $command; } - /** - * Defines new commands in the server profile. - * - * @param array $commands Named list of command IDs and their classes. - */ - public function defineCommands(Array $commands) - { - foreach ($commands as $alias => $command) { - $this->defineCommand($alias, $command); - } - } - /** * Defines a new commands in the server profile. *