Move system messages from boot to own class

This commit is contained in:
Hypolite Petovan 2022-07-27 11:54:50 -04:00
parent f9777ce0dc
commit 1b2182c43c
5 changed files with 107 additions and 38 deletions

View file

@ -648,10 +648,6 @@ class App
header('X-Account-Management-Status: none');
}
$_SESSION['sysmsg'] = Core\Session::get('sysmsg', []);
$_SESSION['sysmsg_info'] = Core\Session::get('sysmsg_info', []);
$_SESSION['last_updated'] = Core\Session::get('last_updated', []);
/*
* check_config() is responsible for running update scripts. These automatically
* update the DB schema whenever we push a new one out. It also checks to see if