only provide 'connected apps' on the settings menu if techlevel > 0.
This commit is contained in:
parent
909e618f6c
commit
5376b478b8
@ -79,11 +79,13 @@ class Settings_menu {
|
||||
'selected' => ''
|
||||
);
|
||||
|
||||
if(get_account_techlevel() > 0) {
|
||||
$tabs[] = array(
|
||||
'label' => t('Connected apps'),
|
||||
'url' => z_root() . '/settings/oauth',
|
||||
'selected' => ((argv(1) === 'oauth') ? 'active' : ''),
|
||||
);
|
||||
}
|
||||
|
||||
if(get_account_techlevel() > 2) {
|
||||
$tabs[] = array(
|
||||
|
Reference in New Issue
Block a user