X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FpopulateLogSearch.php;h=83e470d59b59860439b050e6c7e5c6d5086f3e7b;hb=1d00b757fc894d93624cd53121aa274118f17cb2;hp=c3728912dd4b369074b22cba10ebcdd4b7e8a428;hpb=2355ec3e43737a6444de5d1fa6e8bd9a0112f372;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/populateLogSearch.php b/maintenance/populateLogSearch.php index c3728912dd..83e470d59b 100644 --- a/maintenance/populateLogSearch.php +++ b/maintenance/populateLogSearch.php @@ -22,7 +22,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that makes the required database updates for populating the @@ -31,7 +31,12 @@ require_once( __DIR__ . '/Maintenance.php' ); * @ingroup Maintenance */ class PopulateLogSearch extends LoggedUpdateMaintenance { - static $tableMap = array( 'rev' => 'revision', 'fa' => 'filearchive', 'oi' => 'oldimage', 'ar' => 'archive' ); + private static $tableMap = array( + 'rev' => 'revision', + 'fa' => 'filearchive', + 'oi' => 'oldimage', + 'ar' => 'archive' + ); public function __construct() { parent::__construct(); @@ -159,4 +164,4 @@ class PopulateLogSearch extends LoggedUpdateMaintenance { } $maintClass = "PopulateLogSearch"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;