Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* @brief Account Settings Extension
|
||||
* @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/
|
||||
* @subpackage Converter
|
||||
* @since 14 Mar 2025
|
||||
*/
|
||||
|
||||
namespace IPS\convert\extensions\core\LoginHandler;
|
||||
|
||||
use IPS\convert\Login as ConverterLogin;
|
||||
use IPS\Login;
|
||||
use IPS\Login\Exception;
|
||||
use IPS\Login\Handler;
|
||||
use IPS\Login\Handler\ButtonHandler;
|
||||
use IPS\Login\Handler\UsernamePasswordHandler;
|
||||
use IPS\Member as MemberClass;
|
||||
use function defined;
|
||||
|
||||
/* To prevent PHP errors (extending class does not exist) revealing path */
|
||||
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
|
||||
{
|
||||
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* AccountSettings Extension
|
||||
*/
|
||||
class Converter extends ConverterLogin
|
||||
{
|
||||
public static bool $allowMultiple = false;
|
||||
}
|
||||
@@ -211,7 +211,7 @@ class RebuildContent extends QueueAbstract
|
||||
/* Pass off to software class */
|
||||
if ( $softwareClass::$contentFixed === FALSE )
|
||||
{
|
||||
$item->$contentColumn = $softwareClass::fixPostData( $item->$contentColumn, $data['class'], $item->$idColumn );
|
||||
$item->$contentColumn = $softwareClass::fixPostData( $item->$contentColumn, $data['class'], $item->$idColumn, $app );
|
||||
}
|
||||
|
||||
/* Then pass off to legacy parser to bring up to 4.x */
|
||||
|
||||
Reference in new issue
Block a user