X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fprotect.php;h=ec03f9349d59f8cced297268d5fd47c1603408d7;hb=972eadb6565e072f01c0b3f73b843d32e1b0a91f;hp=ff13bd6e694aa5ae731824975e49855e08c34a85;hpb=2bc2e0b254be92b9161dc18733408e99608cd1d3;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/protect.php b/maintenance/protect.php index ff13bd6e69..ec03f9349d 100644 --- a/maintenance/protect.php +++ b/maintenance/protect.php @@ -21,7 +21,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that protects or unprotects a page. @@ -67,7 +67,7 @@ class Protect extends Maintenance { } $restrictions = array(); - foreach( $t->getRestrictionTypes() as $type ) { + foreach ( $t->getRestrictionTypes() as $type ) { $restrictions[$type] = $protection; } @@ -86,4 +86,4 @@ class Protect extends Maintenance { } $maintClass = "Protect"; -require_once( RUN_MAINTENANCE_IF_MAIN ); +require_once RUN_MAINTENANCE_IF_MAIN;