Merge "Make OutputPage's mechanism for gathering Vary headers reusable"
[lhc/web/wiklou.git] / maintenance / updateRestrictions.php
index f1d6139..ffbdb2b 100644 (file)
@@ -64,7 +64,7 @@ class UpdateRestrictions extends Maintenance {
                                                // old old format should be treated as edit/move restriction
                                                $oldRestrictions["edit"] = trim( $temp[0] );
                                                $oldRestrictions["move"] = trim( $temp[0] );
-                                       } else if ( $temp[1] ) {
+                                       } elseif ( $temp[1] ) {
                                                $oldRestrictions[$temp[0]] = trim( $temp[1] );
                                        }
                                }