Bug 35267: (follow-up) Adapt atomicupdate to new DB schema

and add a missing newline

Signed-off-by: Thomas Klausner <domm@plix.at>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Thomas Klausner 2026-03-26 16:11:49 +00:00 committed by Lucas Gass
parent a1b7017588
commit 329b0da16a
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
2 changed files with 7 additions and 7 deletions

View File

@ -10,12 +10,12 @@ return {
# Do you stuffs here
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES
('AllNoticeStylesheet', '', NULL, 'Enter the address for a stylesheet for all notices', 'free'),
('AllNoticeCSS','',NULL,'CSS to include in each html notice regardless of messate transport type','free'),
('EmailNoticeCSS','',NULL,'CSS to include in each html email notice','free'),
('PrintNoticeCSS','',NULL,'CSS to include in each html print notice','free'),
('PrintSlipCSS','',NULL,'CSS to include in each html print notice','free')
INSERT IGNORE INTO systempreferences (variable, value) VALUES
('AllNoticeStylesheet', ''),
('AllNoticeCSS',''),
('EmailNoticeCSS',''),
('PrintNoticeCSS',''),
('PrintSlipCSS','')
}
);
say $out "Added new system preference 'AllNoticeStylesheet'";

View File

@ -89,4 +89,4 @@ Tools:
- Automatically delete temporary uploads older than
- pref: UploadPurgeTemporaryFilesDays
class: integer
- "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files."
- "days in cleanup_database cron job. NOTE: If you leave this field empty, the cron job will not delete any files. On the other hand a value of 0 means: delete all temporary files."