diff --git a/index.php b/index.php
index <HASH>..<HASH> 100644
--- a/index.php
+++ b/index.php
@@ -985,14 +985,6 @@ if ( $show_page_layout )
 
     $tpl->setVariable( "site", $site );
 
-    if ( isset( $tpl_vars ) and is_array( $tpl_vars ) )
-    {
-        foreach( $tpl_vars as $tpl_var_name => $tpl_var_value )
-        {
-            $tpl->setVariable( $tpl_var_name, $tpl_var_value );
-        }
-    }
-
     if ( $ini->variable( 'DebugSettings', 'DisplayDebugWarnings' ) == 'enabled' )
     {
         // Make sure any errors or warnings are reported
Removed: unused code since late <I>

Variable $tpl_vars is not defined anymore since 9a<I>b<I>dfa<I>eb<I>f<I>ab9ed<I>c<I>d0fd