Jump to content

Wikia code/includes/Hooks.php

From mediawiki.org
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\Hooks.php	2011-07-18 22:31:28.160156300 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\Hooks.php	2011-08-17 15:28:46.521484400 +0100
@@ -121,6 +121,10 @@
 			$callback = array( $object, $method );
 		} elseif ( false !== ( $pos = strpos( $func, '::' ) ) ) {
 			$callback = array( substr( $func, 0, $pos ), substr( $func, $pos + 2 ) );
+			/* Wikia change begin - @author: Macbre */
+			/* BugId:6970 */ 
+			$func .= ' (called by hook)';
+			/* Wikia change end */
 		} else {
 			$callback = $func;
 		}