Dotclear


Ignore:
Timestamp:
08/06/13 10:03:57 (12 years ago)
Author:
Dsls
Branch:
default
Message:

Backed out merge changeset: 48c827f9db99

Backed out merge revision to its first parent (5ceeeb6f5454)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/update.php

    r1231 r1280  
    2727 
    2828$updater = new dcUpdate(DC_UPDATE_URL,'dotclear',DC_UPDATE_VERSION,DC_TPL_CACHE.'/versions'); 
    29 $new_v = $updater->check(DC_VERSION, !empty($_GET['nocache'])); 
     29$new_v = $updater->check(DC_VERSION); 
    3030$zip_file = $new_v ? DC_BACKUP_PATH.'/'.basename($updater->getFileURL()) : ''; 
    3131$version_info = $new_v ? $updater->getInfoURL() : ''; 
     
    173173if (!$core->error->flag()) { 
    174174     echo '<h2>'.__('Dotclear update').'</h2>'; 
    175       
    176      if (!empty($_GET['nocache'])) { 
    177           dcPage::message(__('Manual checking of update done successfully.')); 
    178      } 
    179175} 
    180176 
     
    184180     if (empty($new_v)) 
    185181     { 
    186           echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'. 
    187           '<form action="'.$p_url.'" method="get">'. 
    188           '<p><input type="hidden" name="nocache" value="1" />'. 
    189           '<input type="submit" value="'.__('Force checking update Dotclear').'" /></p>'. 
    190           '</form>'; 
     182          echo '<p><strong>'.__('No newer Dotclear version available.').'</strong></p>'; 
    191183     } 
    192184     else 
Note: See TracChangeset for help on using the changeset viewer.

Sites map