X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FcleanupCaps.php;h=1a47ac4e52098ad0f86a5d33184efb6e45335363;hb=775cd3c0eb92b8ef65c3d0e6af6126d008e7319f;hp=b61f6ff4ef1a7dd2a0c3bac2bc387eff94563319;hpb=b7ce0372b06fec4f9b3f2c2c8b2a794e5ab742f3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php index b61f6ff4ef..1a47ac4e52 100644 --- a/maintenance/cleanupCaps.php +++ b/maintenance/cleanupCaps.php @@ -29,7 +29,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/cleanupTable.inc' ); +require_once __DIR__ . '/cleanupTable.inc'; /** * Maintenance script to clean up broken page links when somebody turns on $wgCapitalLinks. @@ -103,4 +103,4 @@ class CapsCleanup extends TableCleanup { } $maintClass = "CapsCleanup"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;