Ignore:
Timestamp:
Mar 15, 2011, 7:55:17 PM (13 years ago)
Author:
patdenice
Message:

New languages keys.

File:
1 edited

Legend:

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

    r9707 r9710  
    1717
    1818// Upgrade?
    19 if (!isset($conf['AU_ignore']['plugins']) or !isset($conf['AU_ignore']['themes']) or !isset($conf['AU_ignore']['languages']))
     19if (!isset($conf['AU_ignore']['plugins']))
    2020{
    2121  $conf['AU_ignore'] = array('plugins'=>array(),'themes'=>array(),'languages'=>array());
     
    3838    {
    3939      unset($_SESSION['need_update']);
    40       unset($_SESSION['plugins_need_update']);
     40      unset($_SESSION['extensions_need_update']);
    4141    }
    4242
    43     if (!isset($_SESSION['need_update']) or !isset($_SESSION['plugins_need_update'])
    44       or $_SESSION['need_update'] !== false or $_SESSION['plugins_need_update'] !== array())
     43    if (!isset($_SESSION['need_update']) or !isset($_SESSION['extensions_need_update'])
     44      or $_SESSION['need_update'] !== false or $_SESSION['extensions_need_update'] !== array())
    4545    {
    4646      $template->set_filename('autoupdate_head', realpath(AUTOUPDATE_PATH.'template/head.tpl'));
    4747      array_push($header_notes, $template->parse('autoupdate_head', true));
    4848    }
    49   }
    50 
    51   if ($page['page'] == 'plugins_update' and method_exists('template', 'set_prefilter'))
    52   {
    53     include(dirname(__FILE__).'/plugins_update.php');
    5449  }
    5550
Note: See TracChangeset for help on using the changeset viewer.