From a77bef9ad432dd7e4732f2a4d6e16ecaf5c9910c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 21 Apr 2007 23:19:18 +0000 Subject: [PATCH] *Remove update() query to avoid any data loss concerns --- maintenance/updateRestrictions.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index f216ea37fe..fff61019be 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -1,7 +1,7 @@ $encodedExpiry ); } - # Update page record - $db->update( 'page', - array( /* SET */ - 'page_restrictions' => '' - ), array( /* WHERE */ - 'page_id' => $row->page_id - ), 'migrate_restrictions' - ); } # We use insert() and not replace() as Article.php replaces # page_restrictions with '' when protected in the restrictions table -- 2.20.1