Skip to content

Commit

Permalink
Remove FOF dependency from UsersHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas K. Dionysopoulos committed Aug 19, 2016
1 parent c1b0295 commit 4076746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_users/helpers/users.php
Expand Up @@ -193,8 +193,8 @@ public static function getRangeOptions()
*/
public static function getTwoFactorMethods()
{
FOFPlatform::getInstance()->importPlugin('twofactorauth');
$identities = FOFPlatform::getInstance()->runPlugins('onUserTwofactorIdentify', array());
JPluginHelper::importPlugin('twofactorauth');
$identities = JEventDispatcher::getInstance()->trigger('onUserTwofactorIdentify', array());

$options = array(
JHtml::_('select.option', 'none', JText::_('JGLOBAL_OTPMETHOD_NONE'), 'value', 'text'),
Expand Down

0 comments on commit 4076746

Please sign in to comment.