]> git.mxchange.org Git - mailer.git/blobdiff - inc/purge/purge-inact.php
Continued:
[mailer.git] / inc / purge / purge-inact.php
index 900638851df5dc3a4e489537e1b496d79aaa3e18..250ed37cd0483f8166d9492a304fbf1da9026587 100644 (file)
@@ -53,7 +53,7 @@ if (isAutopurgeInactiveEnabled()) {
 
        // Init userid exclusion
        $excludeSql = '';
-       $excludedUserids = runFilterChain('config_userid_exclusion_sql', array());
+       $excludedUserids = runFilterChain('config_userid_exclusion_sql', []);
        if (isFilledArray($excludedUserids)) {
                // Exclude all
                $excludeSql = ' AND `userid` NOT IN (' . implode(', ', $excludedUserids) . ')';
@@ -77,7 +77,7 @@ ORDER BY
 
        if (!ifSqlHasZeroNumRows($result_inactive)) {
                // Prepare variables and constants...
-               $userids = array();
+               $userids = [];
                $content['since'] = (getApInactiveSince() / 60 / 60);
                $content['time']  = (getApInactiveTime()  / 60 / 60);
 
@@ -134,7 +134,7 @@ ORDER BY
 
        if (!ifSqlHasZeroNumRows($result_inactive)) {
                // Prepare userid array for admin...
-               $userids = array();
+               $userids = [];
 
                // Delete inactive accounts
                while ($content = sqlFetchArray($result_inactive)) {