]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Yet another bunch of EL/surfbar fixes
[mailer.git] / inc / wrapper-functions.php
index cee610df471d40f836d541a06e9e6907d6a30147..89ebde56c9ce83bf7d29eb90251928b6d097c64c 100644 (file)
@@ -1032,5 +1032,17 @@ function determineCountry ($userid) {
        return $country;
 }
 
+// "Getter" for total confirmed user accounts
+function getTotalConfirmedUser () {
+       // Is it cached?
+       if (!isset($GLOBALS['total_confirmed_users'])) {
+               // Then do it
+               $GLOBALS['total_confirmed_users'] = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+       } // END - if
+
+       // Return cached value
+       return $GLOBALS['total_confirmed_users'];
+}
+
 // [EOF]
 ?>