X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fdaily%2Fdaily_bonus.php;h=92f369527a046dc963f7bbb6799e63daedb399db;hb=c4be539d249046d6d64d2181c3a1e898fe9a64f5;hp=b241ae51a47752e09298088fe90e7c650fbe5157;hpb=de0c8d04d89614de9deca7be6b6acbe41f500280;p=mailer.git diff --git a/inc/daily/daily_bonus.php b/inc/daily/daily_bonus.php index b241ae51a4..92f369527a 100644 --- a/inc/daily/daily_bonus.php +++ b/inc/daily/daily_bonus.php @@ -10,13 +10,8 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Bonus-Punkte zuruecksetzen * * -------------------------------------------------------------------- * - * $Revision:: $ * - * $Date:: $ * - * $Tag:: 0.2.1-FINAL $ * - * $Author:: $ * - * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2012 by Mailer Developer Team * + * Copyright (c) 2009 - 2016 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -38,22 +33,22 @@ // Some security stuff... if (!defined('__SECURITY')) { die(); -} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) { - // Do not execute when script is in CSS mode or no daily reset +} elseif ((!isHtmlOutputMode()) || (!isDailyResetEnabled())) { + // Do not execute when script is in non-HTML mode or no daily reset return; } elseif (!isExtensionActive('bonus')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled'); + if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); // Purge expired entries in _bonus_turbo purgeExpiredTurboBonus(); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); // [EOF] ?>