Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -43,8 +43,6 @@ class _done extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
|
||||
/* Delete some variables we stored in our session */
|
||||
unset( $_SESSION['apps'] );
|
||||
|
||||
if( isset( $_SESSION['upgrade_options'] ) )
|
||||
{
|
||||
unset( $_SESSION['upgrade_options'] );
|
||||
@@ -74,6 +72,14 @@ class _done extends \IPS\Dispatcher\Controller
|
||||
/* Remove any new version ACP Notifications */
|
||||
\IPS\core\AdminNotification::remove( 'core', 'NewVersion' );
|
||||
|
||||
/* Send v5 notification if the version actually changed */
|
||||
if( !empty( $_SESSION['apps']['core'] ) AND $_SESSION['apps']['core']['current'] !== $_SESSION['apps']['core']['available'] AND !\IPS\IPS::isManaged() )
|
||||
{
|
||||
\IPS\core\AdminNotification::send( 'core', 'VersionFive', NULL, TRUE );
|
||||
}
|
||||
|
||||
unset( $_SESSION['apps'] );
|
||||
|
||||
/* Check for php8 method substitution issues */
|
||||
if ( \IPS\Application\Scanner::scanCustomizationIssues( false, true ) !== null )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user