Bugzilla – Attachment 43531 Details for
Bug 13632
Make permission descriptions translatable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 13632: Populate user_flags and permissions tables in the web installer
SIGNED-OFF-Bug-13632-Populate-userflags-and-permis.patch (text/plain), 2.68 KB, created by
Kyle M Hall (khall)
on 2015-10-16 15:31:47 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 13632: Populate user_flags and permissions tables in the web installer
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-10-16 15:31:47 UTC
Size:
2.68 KB
patch
obsolete
>From e5519c083fad99a31f12b2a26a5c22e2fd19e8a2 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Sep 2015 09:50:15 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 13632: Populate user_flags and permissions tables in the web installer > >Move the 2 specific 'en' files outside of the language directory. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/Installer.pm | 2 ++ > installer/data/mysql/en/mandatory/userflags.txt | 1 - > .../data/mysql/en/mandatory/userpermissions.txt | 1 - > .../data/mysql/{en/mandatory => }/userflags.sql | 0 > .../mysql/{en/mandatory => }/userpermissions.sql | 0 > 5 files changed, 2 insertions(+), 2 deletions(-) > delete mode 100644 installer/data/mysql/en/mandatory/userflags.txt > delete mode 100644 installer/data/mysql/en/mandatory/userpermissions.txt > rename installer/data/mysql/{en/mandatory => }/userflags.sql (100%) > rename installer/data/mysql/{en/mandatory => }/userpermissions.sql (100%) > >diff --git a/C4/Installer.pm b/C4/Installer.pm >index a4f63a2..d8f7a38 100644 >--- a/C4/Installer.pm >+++ b/C4/Installer.pm >@@ -304,6 +304,8 @@ sub load_sql_in_order { > # Make sure the global sysprefs.sql file is loaded first > my $globalsysprefs = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/sysprefs.sql"; > unshift(@fnames, $globalsysprefs); >+ push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userflags.sql"; >+ push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userpermissions.sql"; > foreach my $file (@fnames) { > # warn $file; > undef $/; >diff --git a/installer/data/mysql/en/mandatory/userflags.txt b/installer/data/mysql/en/mandatory/userflags.txt >deleted file mode 100644 >index 5fa8bdd..0000000 >--- a/installer/data/mysql/en/mandatory/userflags.txt >+++ /dev/null >@@ -1 +0,0 @@ >-Default user permissions flags >diff --git a/installer/data/mysql/en/mandatory/userpermissions.txt b/installer/data/mysql/en/mandatory/userpermissions.txt >deleted file mode 100644 >index 59b7ce1..0000000 >--- a/installer/data/mysql/en/mandatory/userpermissions.txt >+++ /dev/null >@@ -1 +0,0 @@ >-Detailed staff user permissions >diff --git a/installer/data/mysql/en/mandatory/userflags.sql b/installer/data/mysql/userflags.sql >similarity index 100% >rename from installer/data/mysql/en/mandatory/userflags.sql >rename to installer/data/mysql/userflags.sql >diff --git a/installer/data/mysql/en/mandatory/userpermissions.sql b/installer/data/mysql/userpermissions.sql >similarity index 100% >rename from installer/data/mysql/en/mandatory/userpermissions.sql >rename to installer/data/mysql/userpermissions.sql >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13632
:
35569
|
35595
|
35761
|
35776
|
42756
|
42757
|
42758
|
42759
|
42760
|
43528
|
43529
|
43530
|
43531
|
43532
|
43561
|
43562
|
43563
|
43564
|
43565
|
43566
|
43599