N°9165 - secure data cleanup

This commit is contained in:
Eric Espié
2026-04-30 10:20:25 +02:00
committed by GitHub
parent 0fc7434794
commit 4582256f01
31 changed files with 1505 additions and 511 deletions

View File

@@ -312,9 +312,6 @@ if ($bInstall) {
} else {
echo "\nFailed to record designer updates(".$oMysqli->error.").\n";
}
} else {
echo "\nFailed to read the revision from $sDeltaFile file. No designer update information will be recorded.\n";
}
}
}
@@ -349,8 +346,7 @@ if (! $bFoundIssues) {
$sLogMsg = "installed!";
if ($bUseItopConfig && is_file("$sConfigFile.backup")) {
echo "\nuse config file provided by backup in $sConfigFile.";
copy("$sConfigFile.backup", $sConfigFile);
unlink("$sConfigFile.backup");
}
SetupLog::Info($sLogMsg);

View File

@@ -18,7 +18,6 @@
* You should have received a copy of the GNU Affero General Public License
*/
use Combodo\iTop\Application\WebPage\WebPage;
use Combodo\iTop\PhpParser\Evaluation\PhpExpressionEvaluator;
use Combodo\iTop\Setup\ModuleDiscovery\ModuleFileReader;
use Combodo\iTop\Setup\ModuleDiscovery\ModuleFileReaderException;
@@ -509,7 +508,7 @@ EOF
$sDisplayChoices .= '<li>'.$aChoice['title'].'</li>';
if (isset($aChoice['modules'])) {
if (count($aChoice['modules']) === 0) {
throw new Exception('Extension '.$aChoice['extension_code'].' does not have any module associated');
//throw new Exception('Extension '.$aChoice['extension_code'].' does not have any module associated');
}
foreach ($aChoice['modules'] as $sModuleId) {
$bSelected = true;