summaryrefslogtreecommitdiff
path: root/maintenance/protect.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/protect.php')
-rw-r--r--maintenance/protect.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/maintenance/protect.php b/maintenance/protect.php
index ff13bd6e..ec03f934 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;