From de0c8d04d89614de9deca7be6b6acbe41f500280 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 24 Nov 2012 23:22:19 +0000 Subject: [PATCH] Some minor (text) improvements --- inc/daily/daily_ | 6 +++--- inc/daily/daily_100_bonus.php | 6 +++--- inc/daily/daily_autopurge.php | 6 +++--- inc/daily/daily_beg.php | 6 +++--- inc/daily/daily_birthday.php | 6 +++--- inc/daily/daily_bonus.php | 6 +++--- inc/daily/daily_doubler.php | 6 +++--- inc/daily/daily_earning.php | 6 +++--- inc/daily/daily_holiday.php | 6 +++--- inc/daily/daily_order.php | 6 +++--- inc/daily/daily_profile.php | 6 +++--- inc/daily/daily_surfbar.php | 6 +++--- inc/daily/daily_user.php | 6 +++--- inc/daily/daily_user_subids.php | 4 ++-- inc/daily/daily_yoomedia.php | 6 +++--- inc/hourly/hourly_ | 6 +++--- inc/monthly/monthly_ | 6 +++--- inc/monthly/monthly_beg.php | 6 +++--- inc/monthly/monthly_bonus.php | 6 +++--- inc/monthly/monthly_newsletter.php | 6 +++--- inc/monthly/monthly_surfbar.php | 6 +++--- inc/purge/purge-coupon.php | 2 +- inc/weekly/weekly_ | 6 +++--- inc/weekly/weekly_surfbar.php | 6 +++--- 24 files changed, 69 insertions(+), 69 deletions(-) diff --git a/inc/daily/daily_ b/inc/daily/daily_ index 8e5b8baa42..32401cb386 100644 --- a/inc/daily/daily_ +++ b/inc/daily/daily_ @@ -42,15 +42,15 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_100_bonus.php b/inc/daily/daily_100_bonus.php index dcca9cb084..59f5c9b0d4 100644 --- a/inc/daily/daily_100_bonus.php +++ b/inc/daily/daily_100_bonus.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('bonus')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.'); + 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'); // Check for 100% klickrate mails $result_bonus = SQL_QUERY("SELECT @@ -93,7 +93,7 @@ if (!SQL_HASZERONUMS($result_bonus)) { SQL_FREERESULT($result_bonus); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_autopurge.php b/inc/daily/daily_autopurge.php index f2c4d689a1..c77b0a85dc 100644 --- a/inc/daily/daily_autopurge.php +++ b/inc/daily/daily_autopurge.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('autopurge')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-autopurge disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-autopurge disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Init & set the include pool initIncludePool('autopurge'); @@ -60,7 +60,7 @@ runFilterChain('load_includes', 'autopurge'); runFilterChain('extra_autopurge'); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_beg.php b/inc/daily/daily_beg.php index a1eef8d7d2..b9f7696013 100644 --- a/inc/daily/daily_beg.php +++ b/inc/daily/daily_beg.php @@ -42,17 +42,17 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif ((!isExtensionActive('beg')) || (!isBegRallyeEnabled())) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // @TODO This should be converted in a daily beg rallye // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_birthday.php b/inc/daily/daily_birthday.php index b44250769c..da2c57f9ee 100644 --- a/inc/daily/daily_birthday.php +++ b/inc/daily/daily_birthday.php @@ -43,12 +43,12 @@ if (!defined('__SECURITY')) { return; } elseif (!isExtensionActive('birthday')) { // Extension not active/installed - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-birthday disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-birthday disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Get current day (01 to 31), month (01 to 12) and year (4-digits year) $day = getDay(); @@ -128,7 +128,7 @@ if (!SQL_HASZERONUMS($result_birthday)) { } // END - if // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_bonus.php b/inc/daily/daily_bonus.php index 4faf7a0f6e..b241ae51a4 100644 --- a/inc/daily/daily_bonus.php +++ b/inc/daily/daily_bonus.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('bonus')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.'); + 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] ?> diff --git a/inc/daily/daily_doubler.php b/inc/daily/daily_doubler.php index d170f7f5bc..adf557eb1d 100644 --- a/inc/daily/daily_doubler.php +++ b/inc/daily/daily_doubler.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif ((!isExtensionActive('doubler')) || (getDoublerSendMode() != 'RESET')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-doubler disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-doubler disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Include it loadIncludeOnce('inc/mails/doubler_mails.php'); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_earning.php b/inc/daily/daily_earning.php index de4a03e82e..8958dbb8f3 100644 --- a/inc/daily/daily_earning.php +++ b/inc/daily/daily_earning.php @@ -42,15 +42,15 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('earning')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-earning disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-earning disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_holiday.php b/inc/daily/daily_holiday.php index e1488dd0bf..f091c5c2dd 100644 --- a/inc/daily/daily_holiday.php +++ b/inc/daily/daily_holiday.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('holiday')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-holiday disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-holiday disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Check for holidays we need to enable and send email to user $result_main = SQL_QUERY("SELECT @@ -125,7 +125,7 @@ SQL_FREERESULT($result_main); stopHolidays(); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_order.php b/inc/daily/daily_order.php index 39b5f64e19..7b7c17c57a 100644 --- a/inc/daily/daily_order.php +++ b/inc/daily/daily_order.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('order')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-order disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-order disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Reset mail order values $result_ext = SQL_QUERY('UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `mail_orders`=0 WHERE `mail_orders` > 0', __FILE__, __LINE__); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_profile.php b/inc/daily/daily_profile.php index 70b0eb96b5..d0f62bdd4d 100644 --- a/inc/daily/daily_profile.php +++ b/inc/daily/daily_profile.php @@ -43,12 +43,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('profile')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-profile disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-profile disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); if ((isSendProfileUpdateEnabled()) && (getProfileUpdate() > 0) && (getResendProfileUpdate() > 0)) { // Load personal data @@ -112,7 +112,7 @@ LIMIT 1", } // END - if // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_surfbar.php b/inc/daily/daily_surfbar.php index b1d1db4cec..24b941d98a 100644 --- a/inc/daily/daily_surfbar.php +++ b/inc/daily/daily_surfbar.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('surfbar')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Get value $counter = getConfig('surfbar_daily_counter'); @@ -58,7 +58,7 @@ setConfigEntry('surfbar_daily_counter' , 0); setConfigEntry('surfbar_yester_counter', $counter); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_user.php b/inc/daily/daily_user.php index 591ba21b76..78959d83ab 100644 --- a/inc/daily/daily_user.php +++ b/inc/daily/daily_user.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif ((!isExtensionActive('sql_patches')) || (!isExtensionActive('user'))) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension(s) ext-sql_patches/ext-user disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension(s) ext-sql_patches/ext-user disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Update user profiles if (isExtensionInstalledAndNewer('order', '0.1.1')) { @@ -177,7 +177,7 @@ LIMIT 1", SQL_FREERESULT($result_daily); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_user_subids.php b/inc/daily/daily_user_subids.php index 9a3ebee597..11a0d1ce21 100644 --- a/inc/daily/daily_user_subids.php +++ b/inc/daily/daily_user_subids.php @@ -47,7 +47,7 @@ if (!defined('__SECURITY')) { } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Is auto-purging activated and configured correctly? if ((isApSubidsEnabled()) && (getApSubidsSince() > 0)) { @@ -66,7 +66,7 @@ WHERE } // END - if // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/daily/daily_yoomedia.php b/inc/daily/daily_yoomedia.php index 87de90b518..592715c957 100644 --- a/inc/daily/daily_yoomedia.php +++ b/inc/daily/daily_yoomedia.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('yoomedia')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-yoomedia disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started'); // Simply reset the requests here updateConfiguration('yoomedia_requests_remain', getConfig('yoomedia_requests_total')); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended'); // [EOF] ?> diff --git a/inc/hourly/hourly_ b/inc/hourly/hourly_ index 51d3e9b79b..516957f147 100644 --- a/inc/hourly/hourly_ +++ b/inc/hourly/hourly_ @@ -42,17 +42,17 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset started'); // Do your hourly-reset things here // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'hourly reset ended'); // [EOF] ?> diff --git a/inc/monthly/monthly_ b/inc/monthly/monthly_ index 0ebfc0def6..7df120e59d 100644 --- a/inc/monthly/monthly_ +++ b/inc/monthly/monthly_ @@ -42,17 +42,17 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started'); // Do your monthly-reset things here // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended'); // [EOF] ?> diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 172d4427e6..f2bd85dd42 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif ((!isExtensionActive('beg')) || (!isBegRallyeEnabled())) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started'); // Check if month is done if ((getBegRanks() > 0) && (!isCssOutputMode())) { @@ -103,7 +103,7 @@ LIMIT {?beg_ranks?}", __FILE__, __LINE__); } // END - if // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended'); // [EOF] ?> diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index 68f0434bcf..2561af86c2 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -42,12 +42,12 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('bonus')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started'); if ((getBonusRanks() > 0) && (!isCssOutputMode())) { // Extension 'autopurge' is inactive or purging of inactive accounts is deactivated @@ -110,7 +110,7 @@ SET } // END - if // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended'); // [EOF] ?> diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index 6189989505..49304d5f05 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.php @@ -42,15 +42,15 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('newsletter')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-newsletter disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started'); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended'); // [EOF] ?> diff --git a/inc/monthly/monthly_surfbar.php b/inc/monthly/monthly_surfbar.php index dbf81589e4..a041bee465 100644 --- a/inc/monthly/monthly_surfbar.php +++ b/inc/monthly/monthly_surfbar.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no hourly reset return; } elseif (!isExtensionActive('surfbar')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset started'); // Reset surfbar counter updateConfiguration('surfbar_monthly_counter', 0); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Monthly reset ended'); // [EOF] ?> diff --git a/inc/purge/purge-coupon.php b/inc/purge/purge-coupon.php index 8a6c800783..35596d28eb 100644 --- a/inc/purge/purge-coupon.php +++ b/inc/purge/purge-coupon.php @@ -39,7 +39,7 @@ if (!defined('__SECURITY')) { die(); } elseif (!isExtensionActive('coupon')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-coupon disabled'); return; } diff --git a/inc/weekly/weekly_ b/inc/weekly/weekly_ index 98af59137d..6be0185f25 100644 --- a/inc/weekly/weekly_ +++ b/inc/weekly/weekly_ @@ -42,17 +42,17 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset started'); // Start your weekly-reset things here // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended'); // [EOF] ?> diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index b9b2c4fa5a..ae77a1d5de 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -42,18 +42,18 @@ if (!defined('__SECURITY')) { // Do not execute when script is in CSS mode or no daily reset return; } elseif (!isExtensionActive('surfbar')) { - logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.'); + logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled'); return; } // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset started.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset started'); // Reset the surfbar counter updateConfiguration('surfbar_weekly_counter', 0); // Debug line -//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended.'); +//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Weekly reset ended'); // [EOF] ?> -- 2.39.5