Changeset 4700 for extensions/autoupdate


Ignore:
Timestamp:
Jan 18, 2010, 12:15:52 AM (14 years ago)
Author:
patdenice
Message:

[Plugin][Piwigo Auto Upgrade]
Minor changes

Location:
extensions/autoupdate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/autoupdate/autoupdate.php

    r4699 r4700  
    33load_language('plugin.lang', dirname(__FILE__).'/');
    44
    5 if (isset($_GET['action']) and $_GET['action'] == 'check_autoupdate')
     5if (isset($_GET['action']) and
     6  ($_GET['action'] == 'check_autoupdate' or $_GET['action'] == 'check_upgrade' ))
    67{
    78  unset($_SESSION['need_update']);
  • extensions/autoupdate/class.inc.php

    r4699 r4700  
    128128    if ($_SESSION['need_update'] === false and $_SESSION['plugins_need_update'] === array())
    129129    {
    130       return l10n('Gallery and plugins are up to date')
    131         . '<br><a href="admin.php?action=check_autoupdate">'
    132         . l10n('Click here to check again') . '</a>';
     130      return l10n('Gallery and plugins are up to date');
    133131    }
    134132    else
Note: See TracChangeset for help on using the changeset viewer.