4 * Purge old text records from the database
8 * @author Rob Church <robchur@gmail.com>
11 $options = array( 'purge', 'help' );
12 require_once( 'commandLine.inc' );
13 require_once( 'purgeOldText.inc' );
15 echo( "Purge Old Text\n\n" );
17 if( @$options['help'] ) {
20 PurgeRedundantText( @$options['purge'] );
23 function ShowUsage() {
24 echo( "Prunes unused text records from the database.\n\n" );
25 echo( "Usage: php purgeOldText.php [--purge]\n\n" );
26 echo( "purge : Performs the deletion\n" );
27 echo( " help : Show this usage information\n" );