Pass undone revision id to PageContentSaveComplete hook
[lhc/web/wiklou.git] / includes / EditPage.php
index 4f1e47d..1f871e1 100644 (file)
@@ -2146,7 +2146,8 @@ class EditPage {
                        false,
                        $wgUser,
                        $content->getDefaultFormat(),
-                       $this->changeTags
+                       $this->changeTags,
+                       $this->undidRev
                );
 
                if ( !$doEditStatus->isOK() ) {