}
// Abort if autopurge is not active or disabled by admin
-if ((!EXT_IS_ACTIVE("autopurge")) || (getConfig('auto_purge_active') != "Y")) {
+if ((!EXT_IS_ACTIVE('autopurge')) || (getConfig('auto_purge_active') != "Y")) {
// Abort here
return false;
}
-if ((getConfig('auto_purge_active') == "Y") && (getConfig('auto_purge') > 0)) {
+if ((getConfig('auto_purge_active') == 'Y') && (getConfig('auto_purge') > 0)) {
// Init SQLs
INIT_SQLS();
SQL_FREERESULT($result);
// Is the 'bonus' extension installed and activated?
- if (EXT_IS_ACTIVE("bonus", true)) {
+ if (EXT_IS_ACTIVE('bonus', true)) {
// Check for bonus campaigns
$result = SQL_QUERY_ESC("SELECT id, points FROM `{!_MYSQL_PREFIX!}_bonus` WHERE data_type='SEND' AND timestamp <= %s ORDER BY `id`",
array(bigintval($PURGE)), __FILE__, __LINE__);