From 329b0da16a142bc01fc2fb5f9af1565ea4ed441b Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Thu, 26 Mar 2026 16:11:49 +0000 Subject: [PATCH] Bug 35267: (follow-up) Adapt atomicupdate to new DB schema and add a missing newline Signed-off-by: Thomas Klausner Signed-off-by: Lucas Gass --- installer/data/mysql/atomicupdate/bug_35267.pl | 12 ++++++------ .../prog/en/modules/admin/preferences/tools.pref | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_35267.pl b/installer/data/mysql/atomicupdate/bug_35267.pl index bee58b7770..7eee5569f9 100755 --- a/installer/data/mysql/atomicupdate/bug_35267.pl +++ b/installer/data/mysql/atomicupdate/bug_35267.pl @@ -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'"; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref index 79af469d8d..2f5a3d5262 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/tools.pref @@ -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." \ No newline at end of file + - "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."