dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't attempt to copy to ip_changes in PageArchive class.
[lhc/web/wiklou.git]
/
includes
/
page
/
PageArchive.php
diff --git
a/includes/page/PageArchive.php
b/includes/page/PageArchive.php
index
f6580e9
..
af936cc
100644
(file)
--- a/
includes/page/PageArchive.php
+++ b/
includes/page/PageArchive.php
@@
-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',