if (($GLOBALS['cache_instance']->loadCacheFile('revision', true))) {
// Load revision from cache
$GLOBALS['cache_array']['revision'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif (($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {
+} elseif ((getOutputMode() != '1') && (getOutputMode() != '-1')) {
// Create cache file here
$GLOBALS['cache_instance']->init('revision');