Version 4.2.0
This commit is contained in:
1 parent
0dc2aee5ed
commit
96997ddd8e
2074 files changed
+125454
-55780
No files matched your search
@@ -1,12 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief Converter Login Handler
|
||||
* @author <a href='http://www.invisionpower.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) 2001 - 2016 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/legal/standards/
|
||||
* @package IPS Community Suite
|
||||
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
|
||||
* @copyright (c) Invision Power Services, Inc.
|
||||
* @license https://www.invisioncommunity.com/legal/standards/
|
||||
* @package Invision Community
|
||||
* @since 14 Oct 2014
|
||||
* @version SVN_VERSION_NUMBER
|
||||
*/
|
||||
namespace IPS\Login;
|
||||
|
||||
@@ -76,12 +75,12 @@ class _Convert extends LoginAbstract
|
||||
throw new \IPS\Login\Exception( \IPS\Member::loggedIn()->language()->addToStack( 'login_err_no_account', FALSE, array( 'sprintf' => array( \IPS\Member::loggedIn()->language()->addToStack( $this->getLoginType( $this->authTypes ) ) ) ) ), \IPS\Login\Exception::NO_ACCOUNT );
|
||||
}
|
||||
|
||||
/* Table switcher for new IPS4 converters */
|
||||
/* Table switcher for new converters */
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
$apps = \IPS\Db::i()->select( 'app_key', 'convert_apps', array( 'login=?', 1 ) );
|
||||
$apps = iterator_to_array( \IPS\Db::i()->select( 'app_key', 'convert_apps', array( 'login=?', 1 ) ) );
|
||||
}
|
||||
catch ( \IPS\Db\Exception $e )
|
||||
{
|
||||
@@ -97,6 +96,9 @@ class _Convert extends LoginAbstract
|
||||
|
||||
foreach( $apps as $sw )
|
||||
{
|
||||
/* Strip underscores from keys */
|
||||
$sw = str_replace( "_", "", $sw );
|
||||
|
||||
/* loop found members */
|
||||
foreach( $members as $member )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user