Remove support for the deprecated and no longer used in trunk hook MagicWordMagicWords.
[lhc/web/wiklou.git] / includes / MagicWord.php
index 8559dda..b1baafc 100644 (file)
@@ -223,13 +223,6 @@ class MagicWord {
         */
        static function getVariableIDs() {
                if ( !self::$mVariableIDsInitialised ) {
-                       # Deprecated constant definition hook, available for extensions that need it
-                       $magicWords = array();
-                       wfRunHooks( 'MagicWordMagicWords', array( &$magicWords ) );
-                       foreach ( $magicWords as $word ) {
-                               define( $word, $word );
-                       }
-
                        # Get variable IDs
                        wfRunHooks( 'MagicWordwgVariableIDs', array( &self::$mVariableIDs ) );
                        self::$mVariableIDsInitialised = true;