Bug 35152: Display 'syspref removed' success only if removed
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
41a2d2edd2
commit
9740f6fa5f
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@ return {
|
|||
}
|
||||
|
||||
# Remove old system preference
|
||||
$dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'");
|
||||
say $out "Removed system preference 'RoutingListNote'";
|
||||
$dbh->do("DELETE FROM systempreferences WHERE variable='RoutingListNote'") == 1
|
||||
&& say $out "Removed system preference 'RoutingListNote'";
|
||||
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue