Skip to content

Commit 415fc85

Browse files
committed
updates migrating off global tf handler to the MyAdminApp class handler
1 parent be8cda6 commit 415fc85

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static function getHooks()
4040
public static function getMenu(GenericEvent $event)
4141
{
4242
$menu = $event->getSubject();
43-
if ($GLOBALS['tf']->ima == 'admin') {
43+
if (\MyAdmin\App::ima() == 'admin') {
4444
function_requirements('has_acl');
4545
if (has_acl('client_billing')) {
4646
}

0 commit comments

Comments
 (0)