[TikiWiki-commits] [Git][tikiwiki/tiki][tiki-fix-installer-secdb-fallback-idempotent] [REF] installer: linearize secdb import fallback without truncate
"Sammy Ndabo \(@ndabosam084\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69aeacccd5f2f_3b1892dc15963@gitlab-sidekiq-low-urgency-cpu-bound-v2-74685b5685-vp7mz.mail> |
Sammy Ndabo pushed to branch tiki-fix-installer-secdb-fallback-idempotent at Tiki Wiki CMS Groupware / Tiki
Commits:
6a7907e2 by Sammy Ndabo at 2026-03-09T13:19:24+02:00
[REF] installer: linearize secdb import fallback without truncate
- - - - -
1 changed file:
- installer/Installer.php
Changes:
=====================================
installer/Installer.php
=====================================
@@ -130,8 +130,6 @@ class Installer extends TikiDb_Bridge implements SplSubject
}
if (! $secdbDataLoaded && file_exists($secdb)) {
- // Keep fallback SQL path idempotent, as with .data loading.
- $this->truncateSecdbIfExists();
// Run single inserts
$this->runFile($secdb, false);
}
@@ -239,14 +237,6 @@ class Installer extends TikiDb_Bridge implements SplSubject
$this->executed[] = $script;
}
- private function truncateSecdbIfExists()
- {
- if ($this->tableExists('tiki_secdb')) {
- $this->query('TRUNCATE TABLE `tiki_secdb`');
- }
- }
-
-
private function applyProfile($profileFile)
{
// By the time a profile install is requested, the installation should be functional enough to work
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6a7907e2b919501f5f9c0174d0dc4c4b373a8e7b
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/6a7907e2b919501f5f9c0174d0dc4c4b373a8e7b
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs