X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FpopulateLogUsertext.php;h=e579e52213ba1d430fda429c9e25b83988f1bde9;hb=248154da7e0d46af97304395185b4b118a6e6aa3;hp=3b4b2db8a1cb1f087be958868605bf94fde40420;hpb=cd06070fbfeee94513cf826467a8aacc33d2acbf;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogUsertext.php b/maintenance/populateLogUsertext.php index 3b4b2db8a1..e579e52213 100644 --- a/maintenance/populateLogUsertext.php +++ b/maintenance/populateLogUsertext.php @@ -24,7 +24,7 @@ * @ingroup Maintenance */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that makes the required database updates for @@ -82,5 +82,4 @@ class PopulateLogUsertext extends LoggedUpdateMaintenance { } $maintClass = "PopulateLogUsertext"; -require_once( RUN_MAINTENANCE_IF_MAIN ); - +require_once RUN_MAINTENANCE_IF_MAIN;