Skip to content

Commit 22e5287

Browse files
committed
updates migrating off global tf handler to the MyAdminApp class handler
1 parent 9d9ae37 commit 22e5287

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
@@ -82,7 +82,7 @@ public static function getSettings(GenericEvent $event)
8282
*/
8383
public static function doSetup($accountId)
8484
{
85-
$data = $GLOBALS['tf']->accounts->read($accountId);
85+
$data = \MyAdmin\App::accounts()->read($accountId);
8686
self::doEmailSetup($data['account_lid'], isset($data['name']) ? ['name' => $data['name']] : false);
8787
}
8888

0 commit comments

Comments
 (0)