]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / mysql-manager.php
index ebb750ba2754d42b4215eed8f8deb146dac08ec0..e6d61fbcbe25e36d0312babafc41704ac8bf3bcf 100644 (file)
@@ -999,12 +999,12 @@ function getActionFromModuleWhat ($module, $what) {
 // Get category name back
 function getCategory ($cid) {
        // Default is not found
-       $data['cat'] = getMessage('_CATEGORY_404');
+       $data['cat'] = '{--_CATEGORY_404--}';
 
        // Is the category id set?
        if ($cid == '0') {
                // No category
-               $data['cat'] = getMessage('_CATEGORY_NONE');
+               $data['cat'] = '{--_CATEGORY_NONE--}';
        } elseif ($cid > 0) {
                // Lookup the category in database
                $result = SQL_QUERY_ESC("SELECT `cat` FROM `{?_MYSQL_PREFIX?}_cats` WHERE `id`=%s LIMIT 1",
@@ -1025,7 +1025,7 @@ function getCategory ($cid) {
 // Get a string of "mail title" and price back
 function getPaymentTitlePrice ($pid, $full=false) {
        // Default is not found
-       $ret = getMessage('_PAYMENT_404');
+       $ret = '{--_PAYMENT_404--}';
 
        // Load payment data
        $result = SQL_QUERY_ESC("SELECT `mail_title`, `price` FROM `{?_MYSQL_PREFIX?}_payments` WHERE `id`=%s LIMIT 1",
@@ -2063,12 +2063,12 @@ ORDER BY
                        } // END - if
 
                        // Activity is 'active' by default because if autopurge is not installed
-                       $row['activity'] = getMessage('MEMBER_ACTIVITY_ACTIVE');
+                       $row['activity'] = '{--MEMBER_ACTIVITY_ACTIVE--}';
 
                        // Is autopurge installed and the user inactive?
                        if ((isExtensionActive('autopurge')) && ((time() - getConfig('ap_inactive_since')) >= $row['last_online']))  {
                                // Inactive user!
-                               $row['activity'] = getMessage('MEMBER_ACTIVITY_INACTIVE');
+                               $row['activity'] = '{--MEMBER_ACTIVITY_INACTIVE--}';
                        } // END - if
 
                        // Remove some entries