The function uc_ups_request_pickup() is a utility function which currently resides in uc_ups.module but is only called from within uc_ups.admin.inc. The attached patch moves this function out of uc_ups.module and into uc_ups.admin.inc so it isn't parsed and loaded into memory unless needed.

CommentFileSizeAuthor
uc_ups.admin_.inc_.patch1.31 KBtr
uc_ups.module.patch1.4 KBtr

Comments

tr’s picture

Status: Active » Needs review
tr’s picture

Any reason this can't be done? Bumping to top...

tr’s picture

Assigned: Unassigned » tr
Island Usurper’s picture

Status: Needs review » Fixed

No reason that I can see. Thanks.

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.