Version 4.7.23

This commit is contained in:
Neo committed 2025-12-19 16:21:27 -08:00
1 parent 7124a02564
commit 25ddeb65d6
1791 files changed
+76990 -44452

No files matched your search

+1 -34
View File
@@ -30,40 +30,7 @@ class _Upgrade
*/
public function step1()
{
$sendNotification = FALSE;
if ( !$sendNotification and array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return !\in_array( $k, \IPS\IPS::$ipsApps ); } ) )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and \IPS\Plugin::plugins() )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and array_filter( \IPS\Theme::themes(), function( $t ) { return $t->isCustomized(); } ) )
{
$sendNotification = TRUE;
}
if ( !$sendNotification and \IPS\Db::i()->select( 'COUNT(*)', 'core_sys_lang_words', array( 'word_custom IS NOT NULL AND word_export=1' ) )->first() )
{
$sendNotification = TRUE;
}
if ( $sendNotification )
{
\IPS\core\AdminNotification::send( 'core', 'ConfigurationError', 'marketplaceSetup', FALSE, NULL, TRUE );
}
// Marketplace Removed
return TRUE;
}
/**
* Custom title for this step
*
* @return string
*/
public function step1CustomTitle()
{
return "Checking Marketplace resources";
}
}