From 7cd8897ba76f18db8b8ddb9e926017c701dfc555 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 28 Dec 2008 18:36:49 -0500 Subject: [PATCH] typo remove TODO --- .../Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php b/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php index e4ad704d8..07f865928 100644 --- a/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php +++ b/framework/Service_Vimeo/lib/Horde/Service/Vimeo/Simple.php @@ -32,19 +32,6 @@ class Horde_Service_Vimeo_Simple extends Horde_Service_Vimeo { public function __call($name, $args) { return new Horde_Service_Vimeo_Request(array('type' => $name, 'identifier' => $args[0])); - // TODO: May need to validate these values before they are passed on. - // switch ($name) { - // case 'user': - // // ->user('username') - // $request = new Horde_Service_Vimeo_Request(array('type' => 'user', 'identifier' => $args[0])); - // return $request; - // case 'group': - // //->group('groupidentifier') - // $request = new Horde_Service_Vimeo_Request(array('type' => 'group', 'identifier' => $args[0])); - // return $request; - // - // case 'channel': - // } } } @@ -95,7 +82,7 @@ class Horde_Service_Vimeo_Request { */ public function __call($name, $args) { - if (!in_array($name, $this->_methodType[$this->_type])) { + if (!in_array($name, $this->_methodTypes[$this->_type])) { return; } $this->_method = $name; -- 2.11.0