} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+} elseif (!isExtensionActive('')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('bonus')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
+} elseif (!isExtensionActive('bonus')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('autopurge')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-autopurge disabled.');
+} elseif (!isExtensionActive('autopurge')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-autopurge disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// 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.');
+} elseif (!isExtensionActive('beg')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode
return;
-} elseif ((!isExtensionActive('birthday')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('birthday')) {
// Extension not active/installed
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-birthday disabled.');
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-birthday disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('bonus')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
+} elseif (!isExtensionActive('bonus')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
return;
}
// 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.');
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-doubler disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('earning')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-earning disabled.');
+} elseif (!isExtensionActive('earning')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-earning disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || ((!isResetModeEnabled()) && (getConfig('holiday_mode') == 'RESET'))) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('holiday')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-holiday disabled.');
+} elseif (!isExtensionActive('holiday')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-holiday disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('order')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-order disabled.');
+} elseif (!isExtensionActive('order')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-order disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('profile')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('profile')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-profile disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('surfbar')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');
+} elseif (!isExtensionActive('surfbar')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// 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.');
+} elseif (!isExtensionActive('sql_patches')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension(s) ext-sql_patches/ext-user disabled.');
return;
}
// Do not execute when script is in CSS mode or no daily reset
return;
} elseif (!isExtensionInstalledAndNewer('user', '0.5.8')) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-user disabled or out-dated.');
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-user disabled or out-dated.');
return;
}
} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('yoomedia')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-yoomedia disabled.');
+} elseif (!isExtensionActive('yoomedia')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-yoomedia disabled.');
return;
}
} elseif ((isCssOutputMode()) || (isHourlyResetEnabled()) || (!isExtensionInstalledAndNewer('sql_patches', '0.7.5'))) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif ((!isExtensionActive('')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+} elseif (!isExtensionActive('')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
return;
}
} elseif ((isCssOutputMode()) || (isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif ((!isExtensionActive('')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+} elseif (!isExtensionActive('')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif (((!isExtensionActive('beg')) || (!isBegRallyeEnabled())) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled.');
+} elseif ((!isExtensionActive('beg')) || (!isBegRallyeEnabled())) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-beg disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif ((!isExtensionActive('bonus')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
+} elseif (!isExtensionActive('bonus')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-bonus disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif ((!isExtensionActive('newsletter')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('newsletter')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-newsletter disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no hourly reset
return;
-} elseif ((!isExtensionActive('surfbar')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('surfbar')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('')) && (isDebugModeEnabled())) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
+} elseif (!isExtensionActive('')) {
+ if (isDebugModeEnabled()) logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext- disabled.');
return;
}
} elseif ((isCssOutputMode()) || (!isResetModeEnabled())) {
// Do not execute when script is in CSS mode or no daily reset
return;
-} elseif ((!isExtensionActive('surfbar')) && (isDebugModeEnabled())) {
+} elseif (!isExtensionActive('surfbar')) {
logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension ext-surfbar disabled.');
return;
}