From 4a3cd50cba4aefba6e32c2a3de3de56eb368ad9e Mon Sep 17 00:00:00 2001 From: Magnus Manske Date: Sat, 10 Dec 2005 22:06:34 +0000 Subject: [PATCH] Hooks! Hoooooks! --- includes/SpecialMovepage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/SpecialMovepage.php b/includes/SpecialMovepage.php index bb8d1437a1..3f65b840d7 100644 --- a/includes/SpecialMovepage.php +++ b/includes/SpecialMovepage.php @@ -198,6 +198,8 @@ class MovePageForm { $this->showForm( $error ); return; } + + wfRunHooks( 'SpecialMovepageAfterMove', array( &$this , &$ot , &$nt ) ) ; # Move talk page if # (1) the checkbox says to, @@ -214,6 +216,7 @@ class MovePageForm { $error = $ott->moveTo( $ntt, true, $this->reason ); if ( $error === true ) { $talkmoved = 1; + wfRunHooks( 'SpecialMovepageAfterMove', array( &$this , &$ott , &$ntt ) ) ; } else { $talkmoved = $error; } -- 2.20.1