mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-02 08:09:19 +08:00
[Legacy] Symfony Cache - Add check for installing
This commit is contained in:
parent
ccc225cb36
commit
f01cfeff6d
2 changed files with 3 additions and 2 deletions
|
@ -33,9 +33,9 @@ class CacheManager
|
|||
|
||||
public function markAsNeedsUpdate($key): void
|
||||
{
|
||||
global $db, $sugar_config;
|
||||
global $db;
|
||||
|
||||
if (isFalse($sugar_config['installer_locked']) || !isset($sugar_config['dbconfig']['db_name'])) {
|
||||
if (!empty($GLOBALS['installing']) || isTrue($_REQUEST['post_install'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -87,6 +87,7 @@ class PostUpgrade
|
|||
|
||||
$_REQUEST = [];
|
||||
$_REQUEST['addTaskReminder'] = 'remind';
|
||||
$_REQUEST['post_install'] = true;
|
||||
|
||||
$this->checkConfigForPermissions();
|
||||
$this->checkLoggerSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue