Merge lp:~felmas/mvhub/contact_2nf_dialect into lp:mvhub
Proposed by
Ferhat Elmas
Status: | Needs review |
---|---|
Proposed branch: | lp:~felmas/mvhub/contact_2nf_dialect |
Merge into: | lp:mvhub |
Diff against target: |
448 lines (+149/-146) 5 files modified
app-mvhub/conf/sql_select.lib (+1/-0) app-mvhub/conf/sql_update.lib (+1/-2) app-mvhub/conf/templates/html/call_manager.tmpl (+36/-43) lib-mvhub/lib/MVHub/CGIAppBase.pm (+0/-2) lib-mvhub/lib/MVHub/CallManager.pm (+111/-99) |
To merge this branch: | bzr merge lp:~felmas/mvhub/contact_2nf_dialect |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan MacNeil | Needs Fixing | ||
Review via email: mp+91529@code.launchpad.net |
Description of the change
Fixes update anomaly in call manager
To post a comment you must log in.
Unmerged revisions
- 602. By Ferhat Elmas <<email address hidden>>
-
fixed regex counter in Call_Manager.pm
- 601. By Ferhat Elmas <<email address hidden>>
-
fixed typo
- 600. By Ferhat Elmas <<email address hidden>>
-
modified program update query
- 599. By Ferhat Elmas <<email address hidden>>
-
added for loop to delete extra admin_notes field from program hashes
- 598. By Ferhat Elmas <<email address hidden>>
-
minor optimization in if check of update part of call manager
- 597. By Ferhat Elmas <<email address hidden>>
-
removed an extra select query
- 596. By Ferhat Elmas <<email address hidden>>
-
removed checkbox and extra notes from call manager
- 595. By Ferhat Elmas <<email address hidden>>
-
merged trunk
- 594. By Ferhat Elmas <<email address hidden>>
-
merged trunk
- 593. By Ferhat Elmas <<email address hidden>>
-
merged trunk
423 - Params: :Validate: :validate_ pos( @_, 1, 1 ); :Validate: :validate_ pos( @_, 1, 1, 1 ); records_ scalar = shift;
424 - my ( $record_href, $quick_login_url ) = @_;
425 +
426 + Params:
427 + my $record_href = shift;
428 + my $quick_login_url = shift;
429 + my $expired_
The book, Perl Best Practices says to handle sub routine parameters like on line 424. Arguably using more lines makes it easier to read, but the standard we have is to follow PBP .
Consistency is important.
A bit small for a 'needs fixing', but as a general rule changing existing formating is a small bit of a faux pas.