aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-08 16:55:29 -0800
committerzotlabs <mike@macgirvin.com>2016-11-08 16:55:29 -0800
commitfabf278633b40999640f9bfbb2523c14f42cb1fb (patch)
treeaef8b97dfe46cd21498fff0cfd0c48ac058f257c /Zotlabs/Module
parent743cfa13fdf53ec0b7afbd7599dfb8b6d20a91b5 (diff)
downloadvolse-hubzilla-fabf278633b40999640f9bfbb2523c14f42cb1fb.tar.gz
volse-hubzilla-fabf278633b40999640f9bfbb2523c14f42cb1fb.tar.bz2
volse-hubzilla-fabf278633b40999640f9bfbb2523c14f42cb1fb.zip
more api re-org
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Api.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Api.php b/Zotlabs/Module/Api.php
index a24748b59..a2a1aac1d 100644
--- a/Zotlabs/Module/Api.php
+++ b/Zotlabs/Module/Api.php
@@ -7,13 +7,15 @@ class Api extends \Zotlabs\Web\Controller {
function init() {
- $args = [];
- call_hooks('api_register',$args);
+ zot_api_init();
api_register_func('api/client/register', 'api_client_register', false);
api_register_func('api/oauth/request_token', 'api_oauth_request_token', false);
api_register_func('api/oauth/access_token', 'api_oauth_access_token', false);
+ $args = [];
+ call_hooks('api_register',$args);
+
return;
}