Browse Source

Merge pull request #308 from Antes/release-2.1

Unused variable(s) - Admin.php
emanuele45 11 years ago
parent
commit
9000c52b07
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Sources/Admin.php

+ 3 - 3
Sources/Admin.php

@@ -25,7 +25,7 @@ if (!defined('SMF'))
  */
 function AdminMain()
 {
-	global $txt, $context, $scripturl, $sc, $modSettings, $user_info, $settings, $sourcedir, $options, $smcFunc, $boarddir;
+	global $txt, $context, $scripturl, $modSettings, $settings, $sourcedir, $options, $boarddir;
 
 	// Load the language and templates....
 	loadLanguage('Admin');
@@ -510,7 +510,7 @@ function AdminMain()
 */
 function AdminHome()
 {
-	global $sourcedir, $forum_version, $txt, $scripturl, $context, $user_info, $boardurl, $modSettings, $smcFunc;
+	global $sourcedir, $forum_version, $txt, $scripturl, $context, $user_info;
 
 	// You have to be able to do at least one of the below to see this page.
 	isAllowedTo(array('admin_forum', 'manage_permissions', 'moderate_forum', 'manage_membergroups', 'manage_bans', 'send_mail', 'edit_news', 'manage_boards', 'manage_smileys', 'manage_attachments'));
@@ -1005,4 +1005,4 @@ function AdminEndSession()
 	redirectexit('action=admin');
 }
 
-?>
+?>