Skip to content

Commit bbe24e6

Browse files
committed
localization update
1 parent c393eb6 commit bbe24e6

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/Plugin.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public static function getMenu(GenericEvent $event)
4242
$menu = $event->getSubject();
4343
if ($GLOBALS['tf']->ima == 'admin') {
4444
function_requirements('has_acl');
45-
if (has_acl('client_billing')) {
46-
$menu->add_link('admin', 'choice=none.abuse_admin', '/lib/webhostinghub-glyphs-icons/icons/development-16/Black/icon-spam.png', __('Novnc'));
47-
}
45+
if (has_acl('client_billing')) {
46+
}
4847
}
4948
}
5049

@@ -72,7 +71,5 @@ public static function getSettings(GenericEvent $event)
7271
* @var \MyAdmin\Settings $settings
7372
**/
7473
$settings = $event->getSubject();
75-
$settings->add_text_setting(__('General'), __('Novnc'), 'abuse_imap_user', __('Novnc IMAP User'), __('Novnc IMAP Username'), ABUSE_IMAP_USER);
76-
$settings->add_text_setting(__('General'), __('Novnc'), 'abuse_imap_pass', __('Novnc IMAP Pass'), __('Novnc IMAP Password'), ABUSE_IMAP_PASS);
77-
}
74+
}
7875
}

0 commit comments

Comments
 (0)