diff options
author | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-25 14:34:31 +0000 |
---|---|---|
committer | icewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-25 14:34:31 +0000 |
commit | 5194ba4e0ea39d792d5409492057013201239ff9 (patch) | |
tree | 3cfb2aab6a1f623253ac67fb15a7dd412ce97181 /engine | |
parent | df7287609844fc382d1af8538d1c5e98b209f258 (diff) | |
download | elgg-5194ba4e0ea39d792d5409492057013201239ff9.tar.gz elgg-5194ba4e0ea39d792d5409492057013201239ff9.tar.bz2 |
Marcus Povey <marcus@dushka.co.uk>
* Removed debug.
git-svn-id: https://code.elgg.org/elgg/trunk@267 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/api.php | 16 |
1 files changed, 3 insertions, 13 deletions
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 //////////////////////////////////////////////////////////////// |