- define('ADMIN_AUTOSEND', getMessage('ADMIN_AUTOSEND_ACTIVE'));
- define('MEMBER_AUTOSEND', getMessage('MEMBER_AUTOSEND_ACTIVE'));
- $type = "NEW";
- } else {
- // Auto-send is inactive
- define('ADMIN_AUTOSEND', getMessage('ADMIN_AUTOSEND_INACTIVE'));
- define('MEMBER_AUTOSEND', getMessage('MEMBER_AUTOSEND_INACTIVE'));
- $type = "ADMIN";
- }
-
- // Update sending pool
- SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_pool` SET data_type='%s' WHERE id=%s AND sender=%s AND data_type='TEMP' LIMIT 1",
- array($type, bigintval(REQUEST_GET('order')), $GLOBALS['userid']), __FILE__, __LINE__);
+ $content['admin_autosend'] = '{--ADMIN_AUTOSEND_ACTIVE--}';
+ $content['member_autosend'] = '{--MEMBER_AUTOSEND_ACTIVE--}';
+ $type = 'NEW';
+ } // END - if