}
// Do not execute when script is in CSS mode or no daily reset
-if (($GLOBALS['output_mode'] == 1) || (!isResetModeEnabled())) return;
+if ((getOutputMode() == 1) || (!isResetModeEnabled())) return;
// Simply reset the requests here
updateConfiguration('yoomedia_requests_remain', getConfig('yoomedia_requests_total'));