Don't attempt to copy to ip_changes in PageArchive class.
[lhc/web/wiklou.git] / includes / page / PageArchive.php
index f6580e9..af936cc 100644 (file)
@@ -734,7 +734,9 @@ class PageArchive {
                                                'deleted' => $unsuppress ? 0 : $row->ar_deleted
                                        ] );
 
+                               // This will also copy the revision to ip_changes if it was an IP edit.
                                $revision->insertOn( $dbw );
+
                                $restored++;
 
                                Hooks::run( 'ArticleRevisionUndeleted',