*'pr_expiry' => 'infinity'
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 3 May 2007 15:00:23 +0000 (15:00 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 3 May 2007 15:00:23 +0000 (15:00 +0000)
maintenance/updaters.inc

index b3fb16f..4707891 100644 (file)
@@ -1021,7 +1021,8 @@ function do_restrictions_update() {
                                $wgDatabase->insert( 'page_restrictions', array ( 'pr_page' => $id,
                                                                                        'pr_type' => $type,
                                                                                        'pr_level' => $level,
-                                                                                       'pr_cascade' => 0 ),
+                                                                                       'pr_cascade' => 0,
+                                                                                       'pr_expiry' => 'infinity' ),
                                                                                        __METHOD__ );
                        }
                }