Changeset 3073

Show
Ignore:
Timestamp:
01/13/09 19:56:17 (4 years ago)
Author:
rub
Message:

merge -c3072 from trunk to branch 2.0

Fix bad $lang.
Remove not necessary information messages on upgrade.

Location:
branches/2.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/functions.php

    r3046 r3073  
    15991599 * Do maintenance on all PWG tables 
    16001600 * 
    1601  * @return nono 
     1601 * @return none 
    16021602 */ 
    16031603function do_maintenance_all_tables() 
     
    16481648    array_push( 
    16491649          $page['infos'], 
    1650           l10n('Optimization completed') 
     1650          l10n('Optimizations completed') 
    16511651          ); 
    16521652  } 
  • branches/2.0/upgrade.php

    r3046 r3073  
    299299      ); 
    300300 
     301    // Save $page['infos'] in order to restore after maintenance actions 
     302    $page['infos_sav'] = $page['infos']; 
     303    $page['infos'] = array(); 
     304 
    301305    // c13y_upgrade plugin means "check integrity after upgrade", so it 
    302306    // becomes useful just after an upgrade 
     
    315319    do_maintenance_all_tables(); 
    316320 
     321    // Restore $page['infos'] in order to hide informations messages from functions calles 
     322    // errors messages are not hide 
     323    $page['infos'] = $page['infos_sav']; 
     324 
    317325  } 
    318326}