X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpopulateRecentChangesSource.php;h=e9c94070abac785960402eee5d2383169dfffb4a;hb=f3233ca1a1895b6bed15718077b46e20e71325b4;hp=0e8e50125276480f17b2ec2a014a403716ecc34e;hpb=83a1cf573f7439e45d292a072472ac49212c9ffb;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateRecentChangesSource.php b/maintenance/populateRecentChangesSource.php index 0e8e501252..e9c94070ab 100644 --- a/maintenance/populateRecentChangesSource.php +++ b/maintenance/populateRecentChangesSource.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once dirname( __FILE__ ) . '/Maintenance.php'; +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to populate the rc_source field. @@ -32,7 +32,8 @@ require_once dirname( __FILE__ ) . '/Maintenance.php'; class PopulateRecentChangesSource extends LoggedUpdateMaintenance { public function __construct() { parent::__construct(); - $this->mDescription = "Populates rc_source field of the recentchanges table with the data in rc_type."; + $this->mDescription = + "Populates rc_source field of the recentchanges table with the data in rc_type."; $this->setBatchSize( 100 ); }