X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeOldText.php;h=3d81e2dfafcb6f8935d7ca46cb71a16e097919bc;hb=6acb48609409c794381e5c700b26aa5c77cec207;hp=e68047c00ddd415b0bed7e6e3126418b3af61d26;hpb=bf9ddc0287aa45095dc6456c612935970a464f7a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/purgeOldText.php b/maintenance/purgeOldText.php index e68047c00d..3d81e2dfaf 100644 --- a/maintenance/purgeOldText.php +++ b/maintenance/purgeOldText.php @@ -22,7 +22,7 @@ * @author Rob Church */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that purges old text records from the database. @@ -42,4 +42,4 @@ class PurgeOldText extends Maintenance { } $maintClass = "PurgeOldText"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;