From: Aaron Schulz Date: Sat, 21 Apr 2007 23:19:18 +0000 (+0000) Subject: *Remove update() query to avoid any data loss concerns X-Git-Tag: 1.31.0-rc.0~53293 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=a77bef9ad432dd7e4732f2a4d6e16ecaf5c9910c;p=lhc%2Fweb%2Fwiklou.git *Remove update() query to avoid any data loss concerns --- 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