From 995488beda665a1fc3de65df95f2d1ae236d1245 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 20 Jun 2010 14:43:56 +0000 Subject: [PATCH] All resets rewritten, missing svn:properties added --- DOCS/prop-set.sh | 2 ++ inc/autopurge/purge- | 6 ++-- inc/debug/request_ | 6 ++-- inc/extensions/ext- | 6 ++-- inc/extensions/ext-bonus.php | 14 -------- inc/js/js- | 6 ++-- inc/loader/load_cache- | 6 ++-- inc/modules/admin/action- | 6 ++-- inc/modules/admin/what- | 6 ++-- inc/modules/admin/what-config_ | 6 ++-- .../what-list_network_array_translation.php | 6 ++-- .../admin/what-list_network_translations.php | 6 ++-- inc/modules/guest/action- | 6 ++-- inc/modules/guest/what- | 6 ++-- inc/modules/guest/what-extensions.php | 6 ++-- inc/modules/member/action- | 6 ++-- inc/modules/member/what- | 6 ++-- inc/monthly/monthly_ | 15 ++++---- inc/monthly/monthly_beg.php | 12 +++---- inc/monthly/monthly_bonus.php | 12 +++---- inc/monthly/monthly_newsletter.php | 10 +++--- inc/monthly/monthly_surfbar.php | 16 ++++----- inc/pool/pool- | 6 ++-- inc/reset/reset_ | 15 ++++---- inc/reset/reset_100_bonus.php | 10 +++--- inc/reset/reset_autopurge.php | 9 ++--- inc/reset/reset_beg.php | 10 +++--- inc/reset/reset_birthday.php | 12 +++---- inc/reset/reset_bonus.php | 21 +++++++---- inc/reset/reset_daily.php | 35 ++++++++++++++----- inc/reset/reset_doubler.php | 10 +++--- inc/reset/reset_engine.php | 10 +++--- inc/reset/reset_holiday.php | 10 +++--- inc/reset/reset_profile.php | 10 +++--- inc/reset/reset_surfbar.php | 10 +++--- inc/reset/reset_yoomedia.php | 10 +++--- inc/weekly/weekly_ | 17 +++++---- inc/weekly/weekly_surfbar.php | 12 +++---- 38 files changed, 200 insertions(+), 178 deletions(-) diff --git a/DOCS/prop-set.sh b/DOCS/prop-set.sh index 4188bd5ad9..c57b419b88 100755 --- a/DOCS/prop-set.sh +++ b/DOCS/prop-set.sh @@ -1,4 +1,6 @@ #!/bin/sh find -type f -name "*.php" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \; +find -type f -name "*-" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \; +find -type f -name "*_" -exec svn propset svn:keywords "Author Id Revision HeadURL Date Tag" {} \; find inc/phpmailer/ -type f -name "*.php" -exec svn propdel svn:keywords {} \; diff --git a/inc/autopurge/purge- b/inc/autopurge/purge- index 1622d16399..dcea434801 100644 --- a/inc/autopurge/purge- +++ b/inc/autopurge/purge- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/debug/request_ b/inc/debug/request_ index c13ded55b0..2aa08c9f0a 100644 --- a/inc/debug/request_ +++ b/inc/debug/request_ @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/extensions/ext- b/inc/extensions/ext- index 5b323c3843..d6a3a814fc 100644 --- a/inc/extensions/ext- +++ b/inc/extensions/ext- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/extensions/ext-bonus.php b/inc/extensions/ext-bonus.php index a78c448c95..8651fdd1ef 100644 --- a/inc/extensions/ext-bonus.php +++ b/inc/extensions/ext-bonus.php @@ -560,17 +560,6 @@ WHERE `last_online` < ".$mark." ORDER BY `userid` ASC"); break; case 'init': // Do stuff when extension is initialized - if (isResetModeEnabled() && (!isDebugModeEnabled()) && (getOutputMode() != 1)) { - // Daily reset was run so let's check if active rallye is activated - if (getConfig('bonus_active') == 'Y') { - // Run active rallye - addIncludeToPool('reset', 'inc/monthly/monthly_bonus.php'); - } else { - // Reset points - addIncludeToPool('reset', 'inc/reset/reset_bonus.php'); - } - } // END - if - // Check for bonus rallye is active and send mails out if ((getConfig('bonus_active') == 'Y') && (getConfig('bonus_new_mem_notify') == 'Y')) { // Include file for sending out mails @@ -578,9 +567,6 @@ WHERE `last_online` < ".$mark." ORDER BY `userid` ASC"); } // END - if break; - case 'init': // Do stuff when extension is initialized - break; - default: // Unknown extension mode logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); break; diff --git a/inc/js/js- b/inc/js/js- index 292979e046..00e4bd86a1 100644 --- a/inc/js/js- +++ b/inc/js/js- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : JavaScript-Tag fuer ext- * * -------------------------------------------------------------------- * - * $Revision:: 1109 $ * - * $Date:: 2009-07-31 18:30:33 +0200 (Fri, 31 Jul 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/loader/load_cache- b/inc/loader/load_cache- index 60076ce95c..16c17c6eac 100644 --- a/inc/loader/load_cache- +++ b/inc/loader/load_cache- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Mehr Cache-Dateien nachladen * * -------------------------------------------------------------------- * - * $Revision:: 1092 $ * - * $Date:: 2009-07-28 20:50:32 +0200 (Tue, 28 Jul 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/admin/action- b/inc/modules/admin/action- index 315448e3ec..dd370e7817 100644 --- a/inc/modules/admin/action- +++ b/inc/modules/admin/action- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/admin/what- b/inc/modules/admin/what- index 1cce749400..4015dba0c1 100644 --- a/inc/modules/admin/what- +++ b/inc/modules/admin/what- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/admin/what-config_ b/inc/modules/admin/what-config_ index 7e41572d03..7c45aa9c11 100644 --- a/inc/modules/admin/what-config_ +++ b/inc/modules/admin/what-config_ @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Konfiguration der * * -------------------------------------------------------------------- * - * $Revision:: 1047 $ * - * $Date:: 2009-06-08 19:32:34 +0200 (Mon, 08 Jun 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/admin/what-list_network_array_translation.php b/inc/modules/admin/what-list_network_array_translation.php index 6981e3c8cb..dfc1bdaf22 100644 --- a/inc/modules/admin/what-list_network_array_translation.php +++ b/inc/modules/admin/what-list_network_array_translation.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Verwaltet API-Abfrageparameter * * -------------------------------------------------------------------- * - * $Revision:: 1794 $ * - * $Date:: 2010-05-28 19:55:19 +0200 (Fri, 28 May 2010) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/admin/what-list_network_translations.php b/inc/modules/admin/what-list_network_translations.php index 372c2ee0ee..cd5edd079d 100644 --- a/inc/modules/admin/what-list_network_translations.php +++ b/inc/modules/admin/what-list_network_translations.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Verwaltet API-Abfrageparameter * * -------------------------------------------------------------------- * - * $Revision:: 1794 $ * - * $Date:: 2010-05-28 19:55:19 +0200 (Fri, 28 May 2010) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/guest/action- b/inc/modules/guest/action- index ad7c0a33a6..3351a2f221 100644 --- a/inc/modules/guest/action- +++ b/inc/modules/guest/action- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/guest/what- b/inc/modules/guest/what- index 8f1aec8f88..e970d08432 100644 --- a/inc/modules/guest/what- +++ b/inc/modules/guest/what- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/guest/what-extensions.php b/inc/modules/guest/what-extensions.php index e4b580499b..94e32a8231 100644 --- a/inc/modules/guest/what-extensions.php +++ b/inc/modules/guest/what-extensions.php @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Mit uns Punkte erbetteln! * * -------------------------------------------------------------------- * - * $Revision:: 1794 $ * - * $Date:: 2010-05-28 19:55:19 +0200 (Fri, 28 May 2010) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/member/action- b/inc/modules/member/action- index 85550bc75b..d2d71af066 100644 --- a/inc/modules/member/action- +++ b/inc/modules/member/action- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/modules/member/what- b/inc/modules/member/what- index a010a4c6c2..896492cb0e 100644 --- a/inc/modules/member/what- +++ b/inc/modules/member/what- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : * * -------------------------------------------------------------------- * - * $Revision:: 856 $ * - * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: stelzi $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/monthly/monthly_ b/inc/monthly/monthly_ index 494972ddaf..fe873c43c8 100644 --- a/inc/monthly/monthly_ +++ b/inc/monthly/monthly_ @@ -1,7 +1,7 @@ diff --git a/inc/monthly/monthly_beg.php b/inc/monthly/monthly_beg.php index 370f3fddcc..6b3d1ad13f 100644 --- a/inc/monthly/monthly_beg.php +++ b/inc/monthly/monthly_beg.php @@ -1,7 +1,7 @@ "); - // Get current month (2 digits) $curr = date('m', time()); @@ -103,5 +103,5 @@ LIMIT {?beg_ranks?}", __FILE__, __LINE__); SQL_FREERESULT($result_main); } // END - if -// +// [EOF] ?> diff --git a/inc/monthly/monthly_bonus.php b/inc/monthly/monthly_bonus.php index ed3dfaa445..d4131cdae5 100644 --- a/inc/monthly/monthly_bonus.php +++ b/inc/monthly/monthly_bonus.php @@ -1,7 +1,7 @@ "); - // Get current month (2 digits) $curr = date('m', time()); @@ -118,5 +118,5 @@ SET SQL_FREERESULT($result_main); } // END - if -// +// [EOF] ?> diff --git a/inc/monthly/monthly_newsletter.php b/inc/monthly/monthly_newsletter.php index b9afcc9167..6527461b32 100644 --- a/inc/monthly/monthly_newsletter.php +++ b/inc/monthly/monthly_newsletter.php @@ -1,7 +1,7 @@ "); - // [EOF] ?> diff --git a/inc/monthly/monthly_surfbar.php b/inc/monthly/monthly_surfbar.php index fa2c73c85b..9e886c67d0 100644 --- a/inc/monthly/monthly_surfbar.php +++ b/inc/monthly/monthly_surfbar.php @@ -1,14 +1,14 @@ "); - // Reset surfbar counter updateConfiguration('surfbar_monthly_counter', 0); -// +// [EOF] ?> diff --git a/inc/pool/pool- b/inc/pool/pool- index c63259ea25..a86ca9968b 100644 --- a/inc/pool/pool- +++ b/inc/pool/pool- @@ -10,10 +10,10 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Sendet * * -------------------------------------------------------------------- * - * $Revision:: 1161 $ * - * $Date:: 2009-10-06 22:04:31 +0200 (Tue, 06 Oct 2009) $ * + * $Revision:: $ * + * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * - * $Author:: quix0r $ * + * $Author:: $ * * Needs to be in all Files and every File needs "svn propset * * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * diff --git a/inc/reset/reset_ b/inc/reset/reset_ index 348dde1445..f39419727a 100644 --- a/inc/reset/reset_ +++ b/inc/reset/reset_ @@ -1,7 +1,7 @@ diff --git a/inc/reset/reset_100_bonus.php b/inc/reset/reset_100_bonus.php index a4b75fd4ef..f5cff9424c 100644 --- a/inc/reset/reset_100_bonus.php +++ b/inc/reset/reset_100_bonus.php @@ -1,7 +1,7 @@ "); - // Check for 100% klickrate mails $result_bonus = SQL_QUERY("SELECT `id`, `userid`, `subject`, `timestamp_ordered`, `clicks`, `url` diff --git a/inc/reset/reset_autopurge.php b/inc/reset/reset_autopurge.php index 9a8ed12de1..586dfbb4b6 100644 --- a/inc/reset/reset_autopurge.php +++ b/inc/reset/reset_autopurge.php @@ -1,7 +1,7 @@ "); - // @TODO This should be converted in a daily beg rallye // [EOF] diff --git a/inc/reset/reset_birthday.php b/inc/reset/reset_birthday.php index e793ee1ab5..ea3f2a4905 100644 --- a/inc/reset/reset_birthday.php +++ b/inc/reset/reset_birthday.php @@ -1,7 +1,7 @@ "); - // Get current day (01 to 31), month (01 to 12) and year (4-digits year) $day = date('d', time()); $month = date('m', time()); @@ -118,7 +118,7 @@ if (SQL_NUMROWS($result_birthday) > 0) { // Free memory SQL_FREERESULT($result_birthday); -} +} // END - if // [EOF] ?> diff --git a/inc/reset/reset_bonus.php b/inc/reset/reset_bonus.php index 77be034ee0..9a5d8a77f1 100644 --- a/inc/reset/reset_bonus.php +++ b/inc/reset/reset_bonus.php @@ -1,7 +1,7 @@ "); - // Purge expired entries in _bonus_turbo purgeExpiredTurboBonus(); // Reset accounts -$result = SQL_QUERY("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET turbo_bonus=0, login_bonus=0, bonus_order=0, bonus_stats=0, bonus_ref=0", -__FILE__, __LINE__); +SQL_QUERY("UPDATE + `{?_MYSQL_PREFIX?}_user_data` +SET + `turbo_bonus`=0, + `login_bonus`=0, + `bonus_order`=0, + `bonus_stats`=0, + `bonus_ref`=0", + __FILE__, __LINE__); // [EOF] ?> diff --git a/inc/reset/reset_daily.php b/inc/reset/reset_daily.php index da40de9122..6071b76d86 100644 --- a/inc/reset/reset_daily.php +++ b/inc/reset/reset_daily.php @@ -1,7 +1,7 @@ "); - // Update user profiles if (isExtensionInstalledAndNewer('order', '0.1.1')) { // Latest version - $result_daily = SQL_QUERY("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `receive_mails`=`max_mails`, `mail_orders`=0 WHERE receive_mails != max_mails", __FILE__, __LINE__); + SQL_QUERY("UPDATE + `{?_MYSQL_PREFIX?}_user_data` +SET + `receive_mails`=`max_mails`, + `mail_orders`=0 +WHERE + `receive_mails` != `max_mails`", __FILE__, __LINE__); } else { // Obsolete version - $result_daily = SQL_QUERY("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `receive_mails`=`max_mails` WHERE `receive_mails` != `max_mails`", __FILE__, __LINE__); + SQL_QUERY("UPDATE + `{?_MYSQL_PREFIX?}_user_data` +SET + `receive_mails`=`max_mails` +WHERE + `receive_mails` != `max_mails`", __FILE__, __LINE__); } // Transfer points from locked_points to points -$result_daily = SQL_QUERY("SELECT `userid` FROM `{?_MYSQL_PREFIX?}_user_data` WHERE `ref_payout`=0 AND `status`='CONFIRMED' ORDER BY `userid` ASC", __FILE__, __LINE__); +$result_daily = SQL_QUERY("SELECT + `userid` +FROM + `{?_MYSQL_PREFIX?}_user_data` +WHERE + `ref_payout`=0 AND + `status`='CONFIRMED' +ORDER BY + `userid` ASC", __FILE__, __LINE__); //* DEBUG: */ outputHtml(basename(__FILE__).":payout=0;daily|numRows=".SQL_NUMROWS($result_daily)."
"); if (SQL_NUMROWS($result_daily) > 0) { diff --git a/inc/reset/reset_doubler.php b/inc/reset/reset_doubler.php index 8eaf68c863..11bc8ce134 100644 --- a/inc/reset/reset_doubler.php +++ b/inc/reset/reset_doubler.php @@ -1,7 +1,7 @@ "); - // Include it loadIncludeOnce('inc/mails/doubler_mails.php'); diff --git a/inc/reset/reset_engine.php b/inc/reset/reset_engine.php index 9956a31eca..096c96b791 100644 --- a/inc/reset/reset_engine.php +++ b/inc/reset/reset_engine.php @@ -1,7 +1,7 @@ "); - // [EOF] ?> diff --git a/inc/reset/reset_holiday.php b/inc/reset/reset_holiday.php index e678d58808..09c45a55b7 100644 --- a/inc/reset/reset_holiday.php +++ b/inc/reset/reset_holiday.php @@ -1,7 +1,7 @@ "); - // Check for holidays we need to enable and send email to user $result_main = SQL_QUERY("SELECT `userid`, `holiday_activated` diff --git a/inc/reset/reset_profile.php b/inc/reset/reset_profile.php index 84ff6f6722..9432706036 100644 --- a/inc/reset/reset_profile.php +++ b/inc/reset/reset_profile.php @@ -1,7 +1,7 @@ "); - if ((getConfig('send_prof_update') == 'Y') && (getConfig('profile_update') > 0) && (getConfig('resend_profile_update'))) { // Load personal data $result = SQL_QUERY_ESC("SELECT `userid`, `email`, `last_update`, `joined` diff --git a/inc/reset/reset_surfbar.php b/inc/reset/reset_surfbar.php index 1fbbc9cb6d..06161fbeb2 100644 --- a/inc/reset/reset_surfbar.php +++ b/inc/reset/reset_surfbar.php @@ -1,7 +1,7 @@ "); - // Reset surfbar counter updateConfiguration(array('surfbar_daily_counter', 'surfbar_yester_counter'), array(0, getConfig('surfbar_daily_counter'))); setConfigEntry('surfbar_yester_counter', getConfig('surfbar_daily_counter')); diff --git a/inc/reset/reset_yoomedia.php b/inc/reset/reset_yoomedia.php index 8980a2dd47..bfd494ff9e 100644 --- a/inc/reset/reset_yoomedia.php +++ b/inc/reset/reset_yoomedia.php @@ -1,7 +1,7 @@ "); - // Simply reset the requests here updateConfiguration('yoomedia_requests_remain', getConfig('yoomedia_requests_total')); diff --git a/inc/weekly/weekly_ b/inc/weekly/weekly_ index 48d88abef2..ae51c50ab9 100644 --- a/inc/weekly/weekly_ +++ b/inc/weekly/weekly_ @@ -1,7 +1,7 @@ diff --git a/inc/weekly/weekly_surfbar.php b/inc/weekly/weekly_surfbar.php index 7ea221d5ae..06a306d541 100644 --- a/inc/weekly/weekly_surfbar.php +++ b/inc/weekly/weekly_surfbar.php @@ -1,7 +1,7 @@ "); - // Reset the surfbar counter updateConfiguration('surfbar_weekly_counter', 0); -// +// [EOF] ?> -- 2.39.5