diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-09-26 16:35:05 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-09-26 16:35:05 +0200 |
commit | 505782f224d232acd57f7a5986adfc9bf8a7bb79 (patch) | |
tree | 3de88103af831a5c6fa3a7abc02b34aafabc1186 | |
parent | 1353c291e9d6fbe4cdbe8e4911f99d51e1da9198 (diff) | |
download | volse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.tar.gz volse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.tar.bz2 volse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.zip |
remove oauth from features
-rw-r--r-- | Zotlabs/Widget/Settings_menu.php | 16 | ||||
-rw-r--r-- | include/features.php | 18 |
2 files changed, 0 insertions, 34 deletions
diff --git a/Zotlabs/Widget/Settings_menu.php b/Zotlabs/Widget/Settings_menu.php index 1b96e4d14..041ca312f 100644 --- a/Zotlabs/Widget/Settings_menu.php +++ b/Zotlabs/Widget/Settings_menu.php @@ -79,22 +79,6 @@ class Settings_menu { 'selected' => '' ); - if(feature_enabled(local_channel(),'oauth_clients')) { - $tabs[] = array( - 'label' => t('OAuth1 apps'), - 'url' => z_root() . '/settings/oauth', - 'selected' => ((argv(1) === 'oauth') ? 'active' : ''), - ); - } - - if(feature_enabled(local_channel(),'oauth2_clients')) { - $tabs[] = array( - 'label' => t('OAuth2 apps'), - 'url' => z_root() . '/settings/oauth2', - 'selected' => ((argv(1) === 'oauth2') ? 'active' : ''), - ); - } - if(feature_enabled(local_channel(),'access_tokens')) { $tabs[] = array( 'label' => t('Guest Access Tokens'), diff --git a/include/features.php b/include/features.php index 0da6a9725..46f19fc50 100644 --- a/include/features.php +++ b/include/features.php @@ -84,24 +84,6 @@ function get_features($filtered = true, $level = (-1)) { ], [ - 'oauth_clients', - t('OAuth1 Clients'), - t('Manage OAuth1 authenticatication tokens for mobile and remote apps.'), - false, - get_config('feature_lock','oauth_clients'), - feature_level('oauth_clients',1), - ], - - [ - 'oauth2_clients', - t('OAuth2 Clients'), - t('Manage OAuth2 authenticatication tokens for mobile and remote apps.'), - false, - get_config('feature_lock','oauth2_clients'), - feature_level('oauth2_clients',1), - ], - - [ 'access_tokens', t('Access Tokens'), t('Create access tokens so that non-members can access private content.'), |