* $Author:: $ *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team *
+ * Copyright (c) 2009 - 2015 by Mailer Developer Team *
* For more information visit: http://mxchange.org *
* *
* This program is free software; you can redistribute it and/or modify *
// Shall I auto-purge unconfirmed accounts?
if (getConfig('autopurge_unconfirmed') == 'Y') {
// Init variables and find unconfirmed accounts which I shall auto-purge;
- $result_uncon = SQL_QUERY("SELECT
+ $result_uncon = sqlQuery("SELECT
`userid`,
`email`,
`joined`
(UNIX_TIMESTAMP() - `joined`) >= {?ap_unconfirmed_time?}
ORDER BY
`userid` ASC", __FILE__, __LINE__);
- if (!SQL_HASZERONUMS($result_uncon)) {
+ if (!ifSqlHasZeroNumRows($result_uncon)) {
// Prepare variable...
$userids = '';
$content['time'] = (getApUnconfirmedTime() / 60 / 60);
// Delete inactive accounts
- while ($row = SQL_FETCHARRAY($result_uncon)) {
+ while ($row = sqlFetchArray($result_uncon)) {
// Merge both arrays
$content = merge_array($content, $row);
} // END - if
// Free memory
- SQL_FREERESULT($result_uncon);
+ sqlFreeResult($result_uncon);
} // END - if
// [EOF]