From 5194ba4e0ea39d792d5409492057013201239ff9 Mon Sep 17 00:00:00 2001 From: icewing Date: Tue, 25 Mar 2008 14:34:31 +0000 Subject: Marcus Povey * Removed debug. git-svn-id: https://code.elgg.org/elgg/trunk@267 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/api.php | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'engine/lib') diff --git a/engine/lib/api.php b/engine/lib/api.php index 5ad5e6602..9e2ec6301 100644 --- a/engine/lib/api.php +++ b/engine/lib/api.php @@ -413,24 +413,14 @@ /** * Simple api to return a list of all api's installed on the system. */ - function list_all_apis(array $foo) + function list_all_apis() { global $METHODS; - //return $METHODS; -return $foo; + return $METHODS; } // Expose some system api functions - expose_function("system.api.list", "list_all_apis", array( - "bibble" => array( - 'type' => 'array', - 'required' => true - ), - "monkey" => array ( - 'type' => 'int', - 'required' => true - ) - ), "GET", false, "List all available API calls on the system."); + expose_function("system.api.list", "list_all_apis", NULL, "GET", false, "List all available API calls on the system."); // PAM AUTH HMAC functions //////////////////////////////////////////////////////////////// -- cgit v1.2.3