Bugzilla – Attachment 43899 Details for
Bug 11431
Custom notification sounds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11431 [QA Followup] - Fix alter precedences on delete
PASSED-QA-Bug-11431-QA-Followup---Fix-alter-preced.patch (text/plain), 962 bytes, created by
Katrin Fischer
on 2015-10-24 10:05:42 UTC
(
hide
)
Description:
[PASSED QA] Bug 11431 [QA Followup] - Fix alter precedences on delete
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-10-24 10:05:42 UTC
Size:
962 bytes
patch
obsolete
>From ee34d15733635fd4395a6a735fef07983b882401 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 18 Sep 2015 06:36:10 -0400 >Subject: [PATCH] [PASSED QA] Bug 11431 [QA Followup] - Fix alter precedences > on delete > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > admin/audio_alerts.pl | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/admin/audio_alerts.pl b/admin/audio_alerts.pl >index f62bacd..dc0903f 100755 >--- a/admin/audio_alerts.pl >+++ b/admin/audio_alerts.pl >@@ -49,7 +49,10 @@ if ( $selector && $sound ) { > Koha::AudioAlert->new( { selector => $selector, sound => $sound } )->store(); > } > >-map { Koha::AudioAlerts->find($_)->delete() } @delete; >+if (@delete) { >+ map { Koha::AudioAlerts->find($_)->delete() } @delete; >+ Koha::AudioAlerts->fix_precedences(); >+} > > if ( $id && $action && $where && $action eq 'move' ) { > Koha::AudioAlerts->find($id)->move($where); >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11431
:
29030
|
29031
|
29032
|
29033
|
29034
|
29035
|
29036
|
29037
|
29038
|
29039
|
29119
|
29120
|
29404
|
29764
|
29765
|
29766
|
29767
|
29768
|
29769
|
31145
|
31146
|
31147
|
31148
|
31149
|
31150
|
34637
|
34638
|
34639
|
34640
|
34641
|
34642
|
34643
|
34644
|
34645
|
34646
|
34647
|
34648
|
34649
|
34650
|
34651
|
34652
|
34653
|
34717
|
34718
|
34719
|
34720
|
34864
|
34865
|
34866
|
34867
|
35843
|
35844
|
35845
|
35846
|
38547
|
38548
|
40726
|
40727
|
40728
|
40729
|
40730
|
40731
|
40732
|
41634
|
41661
|
41662
|
42678
|
42679
|
42680
|
42681
|
42682
|
42683
|
42684
|
42685
|
42686
|
42687
|
42688
|
42689
|
42696
|
43753
|
43754
|
43755
|
43756
|
43757
|
43758
|
43759
|
43760
|
43761
|
43762
|
43763
|
43764
|
43765
|
43817
|
43820
|
43821
|
43822
|
43823
|
43824
|
43825
|
43887
|
43888
|
43889
|
43890
|
43891
|
43892
|
43893
|
43894
|
43895
|
43896
|
43897
|
43898
|
43899
|
43900
|
43901
|
43902
|
43903
|
44391
|
44392
|
44393
|
44394
|
44395
|
44396
|
44397
|
44398
|
44399
|
44400
|
44401
|
44402
|
44404
|
44405
|
44407
|
44408
|
44409
|
44411
|
44412
|
44599
|
45135