From: Alexandre Emsenhuber Date: Thu, 17 Jun 2010 09:13:32 +0000 (+0000) Subject: * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws a... X-Git-Tag: 1.31.0-rc.0~36483 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=5be41898e6538a739946af73a5a1b927afab246d;p=lhc%2Fweb%2Fwiklou.git * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws a fatal error --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 7dfa7594a5..1927bfed94 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -198,6 +198,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 23845) Special:ListFiles now uses correct file names without underscores * Ask for permanent login in Special:Preferences only if $wgCookieExpiration > 0 * (bug 16356) Repair dumpInterwiki.inc to use proper normalization. +* (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws + a fatal error === API changes in 1.17 === * (bug 22738) Allow filtering by action type on query=logevent. diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 3614adfced..31d737ca5a 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -772,7 +772,7 @@ abstract class Maintenance { * @param $delete Boolean: whether or not to actually delete the records * @author Rob Church */ - protected function purgeRedundantText( $delete = true ) { + public function purgeRedundantText( $delete = true ) { # Data should come off the master, wrapped in a transaction $dbw = wfGetDB( DB_MASTER ); $dbw->begin();