fix for old image deletion log params
authorAaron Schulz <aaron@users.mediawiki.org>
Wed, 25 Mar 2009 18:21:22 +0000 (18:21 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Wed, 25 Mar 2009 18:21:22 +0000 (18:21 +0000)
includes/specials/SpecialRevisiondelete.php

index 7751741..ab0112a 100644 (file)
@@ -1015,7 +1015,7 @@ class RevisionDeleter {
                                if( $filesObjs[$archivename]->deleted & File::DELETED_FILE ) {
                                        if( $bitfield & File::DELETED_FILE ) {
                                                # Leave it alone if we are not changing this...
-                                               $set[]=$archivename;
+                                               $set[]=$timestamp;
                                                $transaction = true;
                                        } else {
                                                # We are moving this out