Version 4.2.0

This commit is contained in:
Neo committed 2025-12-19 05:44:59 -08:00
1 parent 0dc2aee5ed
commit 96997ddd8e
2074 files changed
+125454 -55780

No files matched your search

@@ -1,12 +1,11 @@
<?php
/**
* @brief 4.1.17 Beta 1 Upgrade Code
* @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 03 Nov 2016
* @version SVN_VERSION_NUMBER
*/
namespace IPS\core\setup\upg_101071;
@@ -205,17 +204,17 @@ class _Upgrade
$reviewClass = $item::$reviewClass;
}
if ( isset( $item::$reputationType ) )
if ( \IPS\IPS::classUsesTrait( $item, 'IPS\Content\Reactable' ) )
{
\IPS\Task::queue( 'core', 'RebuildReputationIndex', array( 'class' => $item ), 3 );
}
if ( $commentClass and isset( $commentClass::$reputationType ) )
if ( $commentClass and \IPS\IPS::classUsesTrait( $commentClass, 'IPS\Content\Reactable' ) )
{
\IPS\Task::queue( 'core', 'RebuildReputationIndex', array( 'class' => $commentClass ), 3 );
}
if ( $reviewClass and isset( $reviewClass::$reputationType ) )
if ( $reviewClass and \IPS\IPS::classUsesTrait( $reviewClass, 'IPS\Content\Reactable' ) )
{
\IPS\Task::queue( 'core', 'RebuildReputationIndex', array( 'class' => $reviewClass ), 3 );
}