X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpurgeOldText.php;h=3d81e2dfafcb6f8935d7ca46cb71a16e097919bc;hb=df5ef8b5d78d060bb41661a65284a3dccc49ac87;hp=e68047c00ddd415b0bed7e6e3126418b3af61d26;hpb=c024eaddc2ae38191f64e3b309d8fb0fb990cd6b;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;