View | Details | Raw Unified | Return to bug 23895
Collapse All | Expand All

(-)a/C4/Installer.pm (-7 / +8 lines)
Lines 331-338 sub load_sql_in_order { Link Here
331
    my $global_mandatory_dir = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/mandatory";
331
    my $global_mandatory_dir = C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/mandatory";
332
332
333
    # Make sure some stuffs are loaded first
333
    # Make sure some stuffs are loaded first
334
    unshift(@fnames, C4::Context->config('intranetdir') . "/installer/data/$self->{dbms}/sysprefs.sql");
335
    unshift(@fnames,
334
    unshift(@fnames,
335
        "$global_mandatory_dir/sysprefs.sql",
336
        "$global_mandatory_dir/subtag_registry.sql",
336
        "$global_mandatory_dir/subtag_registry.sql",
337
        "$global_mandatory_dir/auth_val_cat.sql",
337
        "$global_mandatory_dir/auth_val_cat.sql",
338
        "$global_mandatory_dir/message_transport_types.sql",
338
        "$global_mandatory_dir/message_transport_types.sql",
Lines 341-352 sub load_sql_in_order { Link Here
341
        "$global_mandatory_dir/keyboard_shortcuts.sql",
341
        "$global_mandatory_dir/keyboard_shortcuts.sql",
342
    );
342
    );
343
343
344
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userflags.sql";
344
    push @fnames, "$global_mandatory_dir/userflags.sql",
345
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/userpermissions.sql";
345
                  "$global_mandatory_dir/userpermissions.sql",
346
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/audio_alerts.sql";
346
                  "$global_mandatory_dir/audio_alerts.sql",
347
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/account_offset_types.sql";
347
                  "$global_mandatory_dir/account_offset_types.sql",
348
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/account_credit_types.sql";
348
                  "$global_mandatory_dir/account_credit_types.sql",
349
    push @fnames, C4::Context->config('intranetdir') . "/installer/data/mysql/account_debit_types.sql";
349
                  "$global_mandatory_dir/account_debit_types.sql",
350
                  ;
350
    my $localization_file = C4::Context->config('intranetdir') .
351
    my $localization_file = C4::Context->config('intranetdir') .
351
                            "/installer/data/$self->{dbms}/localization/$langchoice/custom.sql";
352
                            "/installer/data/$self->{dbms}/localization/$langchoice/custom.sql";
352
    if ( $langchoice ne 'en' and -f $localization_file ) {
353
    if ( $langchoice ne 'en' and -f $localization_file ) {

Return to bug 23895