Freeside:1.7:Documentation:Developer/FS/Misc/prune

From Freeside
< Freeside:1.7:Documentation:Developer‎ | FS‎ | Misc
Revision as of 18:02, 3 October 2007 by Ivan (talk | contribs) (import from POD)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME

FS::Misc::prune - misc. pruning subroutines

SYNOPSIS

use FS::Misc::prune qw(prune_applications);

prune_applications();

prune_applications OPTION_HASH
Removes applications of credits to refunds in the event that the database is corrupt and either the credits or refunds are missing (see FS::cust_credit, FS::cust_refund, and FS::cust_credit_refund). If the OPTION_HASH contains the element 'dry_run' then a report of affected records is returned rather than actually deleting the records.

BUGS

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 25:
'=item' outside of any '=over'