We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d9ae37 commit 22e5287Copy full SHA for 22e5287
1 file changed
src/Plugin.php
@@ -82,7 +82,7 @@ public static function getSettings(GenericEvent $event)
82
*/
83
public static function doSetup($accountId)
84
{
85
- $data = $GLOBALS['tf']->accounts->read($accountId);
+ $data = \MyAdmin\App::accounts()->read($accountId);
86
self::doEmailSetup($data['account_lid'], isset($data['name']) ? ['name' => $data['name']] : false);
87
}
88
0 commit comments