aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Oauth2test.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Module/Oauth2test.php')
-rw-r--r--Zotlabs/Module/Oauth2test.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/Zotlabs/Module/Oauth2test.php b/Zotlabs/Module/Oauth2test.php
deleted file mode 100644
index 14aa6137a..000000000
--- a/Zotlabs/Module/Oauth2test.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-namespace Zotlabs\Module;
-
-class Oauth2test extends \Zotlabs\Web\Controller {
-
- function get() {
-
- $o .= replace_macros(get_markup_template('oauth2test.tpl'), array(
- '$baseurl' => z_root(),
- '$endpoints' => array(
- array(
- 'oauth2test',
- array(
- array(
- 'action', 'create_db'
- )
- ),
- 'oauth2test_create_db',
- 'Create the OAuth2 database tables'
- )
- )
- ));
-
- return $o;
- }
-
- function post() {
-
- logger(json_encode($_POST), LOGGER_DEBUG);
-
- switch ($_POST['action']) {
- case 'create_db':
- logger('Creating database tables...', LOGGER_DEBUG);
- break;
-
- default:
- break;
- }
-
- }
-
-}