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

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

Return to bug 23895