loadCacheFile('revision')) { // Load revision from cache $GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache(); } elseif ((isHtmlOutputMode())) { // Create cache file here $GLOBALS['cache_instance']->init(); // add the new RevInfos in and saves it to the cache $GLOBALS['cache_instance']->addRow(getArrayFromRepositoryData()); // Close the cache $GLOBALS['cache_instance']->finalize(); // Generate FQFN for old revision file $FQFN = sprintf("%s/.revision", getCachePath()); // Is it there? if (isFileReadable($FQFN)) { // Then remove it removeFile($FQFN); } // END - if } // [EOF] ?>