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

+6 -11
View File
@@ -1,12 +1,11 @@
<?php
/**
* @brief Upgrader
* @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 21 May 2014
* @version SVN_VERSION_NUMBER
* @todo MAKE DATABASE CHECK RUN BEFORE EVERYTHING ELSE
*/
@@ -36,10 +35,11 @@ class _Upgrade
/* MySQL Requirements */
$return = array_merge_recursive( $return, static::mysqlRequirements( ) );
$writeablesKey = \IPS\Member::loggedIn()->language()->addToStack('requirements_file_system');
/* Writeables */
if( \IPS\Db::i()->checkForTable('core_file_storage') )
{
$writeablesKey = \IPS\Member::loggedIn()->language()->addToStack('requirements_file_system');
$fileSystemItems = array();
foreach ( \IPS\Application::allExtensions( 'core', 'FileStorage', FALSE ) as $k => $v )
@@ -417,11 +417,6 @@ class _Upgrade
$fetched = array( 'count' => $fetched['count'] );
}
if( isset( \IPS\Request::i()->mr_continue ) AND \IPS\Request::i()->mr_continue )
{
$fetched = array( 'count' => $fetched['count'] );
}
$extra['lastSqlId'] = $_SESSION['lastJsonIndex'];
\IPS\Log::debug( (int) $fetched['count'] . ' queries run, last ID ' . $_SESSION['lastJsonIndex'], 'upgrade' );