aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/attachLatest.php
diff options
context:
space:
mode:
authorChad Horohoe <demon@users.mediawiki.org>2010-08-08 12:27:48 +0000
committerChad Horohoe <demon@users.mediawiki.org>2010-08-08 12:27:48 +0000
commit4c74490bb81c891fc450f21899ed462af652e978 (patch)
treeb51a37e58c0a467c258f9b5ad2613412bc4d5fd6 /maintenance/attachLatest.php
parentd1f5f3b21c8547a9a009759b566817ff03e3bd11 (diff)
downloadmediawikicore-4c74490bb81c891fc450f21899ed462af652e978.tar.gz
mediawikicore-4c74490bb81c891fc450f21899ed462af652e978.zip
Big commit: kill almost every freeResult() call as useless
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/70686
Diffstat (limited to 'maintenance/attachLatest.php')
-rw-r--r--maintenance/attachLatest.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/maintenance/attachLatest.php b/maintenance/attachLatest.php
index ae528bb0bd6c..6db5d6d44c15 100644
--- a/maintenance/attachLatest.php
+++ b/maintenance/attachLatest.php
@@ -69,7 +69,6 @@ class AttachLatest extends Maintenance {
}
$n++;
}
- $dbw->freeResult( $result );
$this->output( "Done! Processed $n pages.\n" );
if ( !$this->hasOption( 'fix' ) ) {
$this->output( "This was a dry run; rerun with --fix to update page_latest.\n" );