aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-26 16:35:05 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-26 16:35:05 +0200
commit505782f224d232acd57f7a5986adfc9bf8a7bb79 (patch)
tree3de88103af831a5c6fa3a7abc02b34aafabc1186
parent1353c291e9d6fbe4cdbe8e4911f99d51e1da9198 (diff)
downloadvolse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.tar.gz
volse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.tar.bz2
volse-hubzilla-505782f224d232acd57f7a5986adfc9bf8a7bb79.zip
remove oauth from features
-rw-r--r--Zotlabs/Widget/Settings_menu.php16
-rw-r--r--include/features.php18
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.'),