2 use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
6 description => "Add StaffLoginBranchBasedOnIP",
9 my ( $dbh, $out ) = @$args{qw(dbh out)};
14 INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
15 ('StaffLoginBranchBasedOnIP', '0','', 'Set the logged in branch for the user based on their current IP','YesNo')
19 say $out "Added new system preference 'StaffLoginBranchBasedOnIP'";