X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpurge%2Fpurge-unconfirmed.php;h=b23ee75989fb85210a0596ce770079c106403fa1;hb=ab5ff5126ef56b08f5130a9e110b53c00d0a2761;hp=61a90068e276bc62e4297396b67228efa9fe9c8c;hpb=cd7d344ea7007cfa20413acd3e03e50f0ab86d86;p=mailer.git diff --git a/inc/purge/purge-unconfirmed.php b/inc/purge/purge-unconfirmed.php index 61a90068e2..b23ee75989 100644 --- a/inc/purge/purge-unconfirmed.php +++ b/inc/purge/purge-unconfirmed.php @@ -49,7 +49,7 @@ if ((!isExtensionActive('autopurge')) || (!isAutoPurgingActive())) { // 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` @@ -60,13 +60,13 @@ WHERE (UNIX_TIMESTAMP() - `joined`) >= {?ap_unconfirmed_time?} ORDER BY `userid` ASC", __FILE__, __LINE__); - if (!SQL_HASZERONUMS($result_uncon)) { + if (!ifSqlHasZeroNums($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); @@ -90,7 +90,7 @@ ORDER BY } // END - if // Free memory - SQL_FREERESULT($result_uncon); + sqlFreeResult($result_uncon); } // END - if // [EOF]