Bugzilla – Attachment 94667 Details for
Bug 17168
Add a command line script for updating patron category based on status
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17168: (follow-up) Clean up QA errors
Bug-17168-follow-up-Clean-up-QA-errors.patch (text/plain), 1.12 KB, created by
Martin Renvoize (ashimema)
on 2019-10-24 13:33:36 UTC
(
hide
)
Description:
Bug 17168: (follow-up) Clean up QA errors
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-10-24 13:33:36 UTC
Size:
1.12 KB
patch
obsolete
>From 5ef51c7cf2ba8609ba67dd2d31ea98d0e13644bf Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 16 Jul 2018 11:03:57 +0000 >Subject: [PATCH] Bug 17168: (follow-up) Clean up QA errors > >Cleanup variable names >Remove Dumper > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > misc/cronjobs/update_patrons_category.pl | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > >diff --git a/misc/cronjobs/update_patrons_category.pl b/misc/cronjobs/update_patrons_category.pl >index e426803fd0..202de57830 100644 >--- a/misc/cronjobs/update_patrons_category.pl >+++ b/misc/cronjobs/update_patrons_category.pl >@@ -152,10 +152,8 @@ my $help = 0; > my $man = 0; > my $verbose = 0; > my $doit = 0; >-my $au; >-my $ao; >-my $min_dob; >-my $max_dob; >+my $ageunder; >+my $ageover; > my $remove_guarantors = 0; > my $fine_min; > my $fine_max; >@@ -186,7 +184,6 @@ pod2usage(1) if $help; > pod2usage( -verbose => 2 ) if $man; > > warn "v $verbose c $doit f $fromcat t $tocat"; >-warn Data::Dumper::Dumper(%fields); > exit; > > if ( not $fromcat && $tocat ) { #make sure we've specified the info we need. >-- >2.20.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 17168
:
60279
|
60280
|
60665
|
70921
|
73012
|
74936
|
75698
|
76974
|
76975
|
76976
|
85870
|
85871
|
85872
|
85873
|
85878
|
88809
|
88810
|
88811
|
88812
|
88813
|
88814
|
91677
|
94665
|
94666
| 94667 |
94668
|
94669
|
94670
|
94671
|
94790
|
94793
|
94794