]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/user_functions.php
Extension ext-engine is dead and will never come back
[mailer.git] / inc / libs / user_functions.php
index 760bad363d8872d971eedd1cb6257c36e07443e6..838c8db00f5cd1fd4f62f09b2c4eebb63373706d 100644 (file)
@@ -475,7 +475,7 @@ function doNewUserPassword ($email, $userid) {
 }
 
 // Get timestamp for given stats type and data
-function getTimestampFromUserStats ($statsType, $statsData, $userid = '0') {
+function getEpocheTimeFromUserStats ($statsType, $statsData, $userid = '0') {
        // Default timestamp is zero
        $data['inserted'] = '0';
 
@@ -528,7 +528,7 @@ function insertUserStatsRecord ($userid, $statsType, $statsData) {
        } // END - if
 
        // Does it exist?
-       if ((!getTimestampFromUserStats($statsType, $statsData, $userid)) && (!is_array($statsData))) {
+       if ((!getEpocheTimeFromUserStats($statsType, $statsData, $userid)) && (!is_array($statsData))) {
                // Then insert it!
                SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_stats_data` (`userid`,`stats_type`,`stats_data`) VALUES (%s,'%s','%s')",
                        array(