Index: update.php =================================================================== RCS file: /projects/www/pgadmin3/cache/update.php,v retrieving revision 1.3 retrieving revision 1.4 diff -Lpgadmin3/cache/update.php -Lpgadmin3/cache/update.php -u -w -r1.3 -r1.4 --- pgadmin3/cache/update.php +++ pgadmin3/cache/update.php @@ -1,32 +1,24 @@ setWebRoot($_SERVER["DOCUMENT_ROOT"]); $translated->setCvsRoot($_SERVER["DOCUMENT_ROOT"]."/cvsroot/pgadmin3"); - $vacant->setWebRoot($_SERVER["DOCUMENT_ROOT"]); - $vacant->setCvsRoot($_SERVER["DOCUMENT_ROOT"]."/cvsroot/pgadmin3"); - - $pending->setWebRoot($_SERVER["DOCUMENT_ROOT"]); - $pending->setCvsRoot($_SERVER["DOCUMENT_ROOT"]."/cvsroot/pgadmin3"); + $outofdate->setWebRoot($_SERVER["DOCUMENT_ROOT"]); + $outofdate->setCvsRoot($_SERVER["DOCUMENT_ROOT"]."/cvsroot/pgadmin3"); require_once "../cnt/cnt_translation_status.php"; $_cache_translated = dirname($_SERVER["SCRIPT_FILENAME"])."/cache_translated.txt"; - $_cache_vacant = dirname($_SERVER["SCRIPT_FILENAME"])."/cache_vacant.txt"; - $_cache_pending = dirname($_SERVER["SCRIPT_FILENAME"])."/cache_pending.txt"; + $_cache_outofdate = dirname($_SERVER["SCRIPT_FILENAME"])."/cache_outofdate.txt"; $translated->_cache_save($_cache_translated); - $vacant->_cache_save($_cache_vacant); - $pending->_cache_save($_cache_pending); + $outofdate>_cache_save($_cache_outofdate); echo "Translation statistics updated.
"; - } else { - Echo "Sorry, this cache update utility can only be run locally."; - } + ?>