Permalink
Browse files

Unused Variables

- Avatar.php
- Calendar.php
- DbExtra-mysql.php
- DbPackages-mysql.php
Signed-off-by: Antes <antes@simplemachines.org>
  • Loading branch information...
1 parent 20965e8 commit d8e1de7e6f88a74826827c81055d72c1025ad3b7 @Antes Antes committed Apr 3, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 Sources/Avatar.php
  2. +1 −1 Sources/Calendar.php
  3. +1 −1 Sources/DbExtra-mysql.php
  4. +1 −1 Sources/DbPackages-mysql.php
View
@@ -19,7 +19,7 @@
function showAvatar()
{
- global $smcFunc, $modSettings, $sourcedir, $maintenance;
+ global $smcFunc, $modSettings, $maintenance;
// We need a valid ID
if(empty($_GET['attach']) || (string)$_GET['attach'] != (string)(int)$_GET['attach'])
View
@@ -337,7 +337,7 @@ function CalendarPost()
*/
function iCalDownload()
{
- global $smcFunc, $sourcedir, $forum_version, $context, $modSettings, $webmaster_email, $mbname;
+ global $smcFunc, $sourcedir, $forum_version, $modSettings, $webmaster_email, $mbname;
// You can't export if the calendar export feature is off.
if (empty($modSettings['cal_export']))
@@ -174,7 +174,7 @@ function smf_db_backup_table($table, $backup_table)
*/
function smf_db_optimize_table($table)
{
- global $smcFunc, $db_name, $db_prefix;
+ global $smcFunc, $db_prefix;
$table = str_replace('{db_prefix}', $db_prefix, $table);
@@ -207,7 +207,7 @@ function smf_db_drop_table($table_name, $parameters = array(), $error = 'fatal')
*/
function smf_db_add_column($table_name, $column_info, $parameters = array(), $if_exists = 'update', $error = 'fatal')
{
- global $smcFunc, $db_package_log, $txt, $db_prefix;
+ global $smcFunc, $db_package_log, $db_prefix;
$table_name = str_replace('{db_prefix}', $db_prefix, $table_name);

0 comments on commit d8e1de7

Please sign in to comment.