Remove debug code, fix scope.
authorJan Schneider <jan@horde.org>
Thu, 4 Feb 2010 22:25:29 +0000 (23:25 +0100)
committerJan Schneider <jan@horde.org>
Thu, 4 Feb 2010 22:27:24 +0000 (23:27 +0100)
horde/lib/Block/cloud.php

index fede5dc..6729894 100644 (file)
@@ -56,8 +56,7 @@ class Horde_Block_Horde_cloud extends Horde_Block {
         $results = array();
         foreach ($GLOBALS['registry']->listAPIs() as $api) {
             if ($GLOBALS['registry']->hasMethod($api . '/listTagInfo')) {
-                var_dump($api . '/listTagInfo');
-                $result = $registry->call($api . '/listTagInfo');
+                $result = $GLOBALS['registry']->call($api . '/listTagInfo');
                 if (!is_a($result, 'PEAR_Error')) {
                     $results = array_merge($results, $result);
                 }