Ignore:
Timestamp:
Mar 15, 2011, 8:25:09 PM (13 years ago)
Author:
patdenice
Message:

Clean code.
Rename files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/trunk/main.inc.php

    r9710 r9712  
    2828function check_for_auto_upgrade($plugin_menu_links)
    2929{
    30   global $template, $page, $conf, $header_notes, $prefixeTable;
    31 
    32   load_language('plugin.lang', dirname(__FILE__).'/');
     30  global $template, $page, $header_notes;
    3331
    3432  if ($page['page'] == 'intro')
     
    4442      or $_SESSION['need_update'] !== false or $_SESSION['extensions_need_update'] !== array())
    4543    {
     44      load_language('plugin.lang', dirname(__FILE__).'/');
    4645      $template->set_filename('autoupdate_head', realpath(AUTOUPDATE_PATH.'template/head.tpl'));
    4746      array_push($header_notes, $template->parse('autoupdate_head', true));
Note: See TracChangeset for help on using the changeset viewer.