From 5be41898e6538a739946af73a5a1b927afab246d Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 17 Jun 2010 09:13:32 +0000 Subject: [PATCH] * (bug 24006) deleteArchivedRevisions.php maintenance script now longer throws a fatal error --- RELEASE-NOTES | 2 ++ maintenance/Maintenance.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.20.1