3 * Purge old text records from the database
6 * @author Rob Church <robchur@gmail.com>
9 require_once( "Maintenance.php" );
11 class PurgeOldText
extends Maintenance
{
12 public function __construct() {
13 parent
::__construct();
14 $this->mDescription
= "Purge old text records from the database";
15 $this->addOption( 'purge', 'Performs the deletion' );
18 public function execute() {
19 $this->purgeRedundantText( $this->hasOption('purge') );
23 $maintClass = "PurgeOldText";
24 require_once( DO_MAINTENANCE
);