Browse Source

Merge pull request #125 from emanuele45/master

A missing token and an useless loadlanguage
Jeremy D 12 years ago
parent
commit
a07730c2f2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Sources/Load.php

+ 0 - 1
Sources/Load.php

@@ -1683,7 +1683,6 @@ function loadTheme($id_theme = 0, $initialize = true)
 	$context['admin_features'] = isset($modSettings['admin_features']) ? explode(',', $modSettings['admin_features']) : array('cd,cp,k,w,rg,ml,pm');
 
 	// Default JS variables for use in every theme
-	loadLanguage('index');
 	$context['javascript_vars'] = array(
 		'smf_theme_url' => '"' . $settings['theme_url'] . '"',
 		'smf_default_theme_url' => '"' . $settings['default_theme_url'] . '"',