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

(-)a/admin/preferences.pl (-1 lines)
Lines 305-311 if ( $op eq 'save' ) { Link Here
305
            my $value = join( ',', $input->param( $param ) );
305
            my $value = join( ',', $input->param( $param ) );
306
306
307
            C4::Context->set_preference( $pref, $value );
307
            C4::Context->set_preference( $pref, $value );
308
            logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $pref . " | " . $value );
309
        }
308
        }
310
    }
309
    }
311
310
(-)a/misc/admin/koha-preferences (-1 lines)
Lines 82-88 sub _set_preference { Link Here
82
    _debug( "Setting $preference to $value" );
82
    _debug( "Setting $preference to $value" );
83
83
84
    C4::Context->set_preference( $preference, $value );
84
    C4::Context->set_preference( $preference, $value );
85
    logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $preference . " | " . $value );
86
}
85
}
87
86
88
sub GetPreferences {
87
sub GetPreferences {
(-)a/svc/config/systempreferences (-3 lines)
Lines 64-70 sub set_preference { Link Here
64
    unless ( C4::Context->config('demo') ) {
64
    unless ( C4::Context->config('demo') ) {
65
        my $value = join( ',', $query->param( 'value' ) );
65
        my $value = join( ',', $query->param( 'value' ) );
66
        C4::Context->set_preference( $preference, $value );
66
        C4::Context->set_preference( $preference, $value );
67
        logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $preference . " | " . $value );
68
    }
67
    }
69
68
70
    C4::Service->return_success( $response );
69
    C4::Service->return_success( $response );
Lines 98-104 sub set_preferences { Link Here
98
            my $value = join( ',', $query->param( $param ) );
97
            my $value = join( ',', $query->param( $param ) );
99
98
100
            C4::Context->set_preference( $pref, $value );
99
            C4::Context->set_preference( $pref, $value );
101
            logaction( 'SYSTEMPREFERENCE', 'MODIFY', undef, $pref . " | " . $value );
102
        }
100
        }
103
    }
101
    }
104
102
105
- 

Return to bug 11998