From 3e896958153adcb0151d5cac4ca331e2ba4e6b8b Mon Sep 17 00:00:00 2001 From: Mirko Tietgen Date: Thu, 3 Mar 2016 17:45:14 +0100 Subject: [PATCH] Bug 14168: (followup) atomic update for syspref Signed-off-by: Jesse Weaver Fixed small typo (extra '). Signed-off-by: Brendan A Gallagher --- .../atomicupdate/bug_14168-add_html5mediayoutube_syspref.sql | 2 ++ installer/data/mysql/sysprefs.sql | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 installer/data/mysql/atomicupdate/bug_14168-add_html5mediayoutube_syspref.sql diff --git a/installer/data/mysql/atomicupdate/bug_14168-add_html5mediayoutube_syspref.sql b/installer/data/mysql/atomicupdate/bug_14168-add_html5mediayoutube_syspref.sql new file mode 100644 index 0000000000..d45328f685 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_14168-add_html5mediayoutube_syspref.sql @@ -0,0 +1,2 @@ +INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES +('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'); diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 72138f7886..69fb2301db 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -163,7 +163,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'), ('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'), ('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'), -('HTML5MediaYouTube',0','Embed|Don\'t embed','YouTube links as videos','YesNo'), +('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'), ('IDreamBooksReadometer','0','','Display Readometer from IDreamBooks.com','YesNo'), ('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'), ('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'), -- 2.39.5