Next wave of lesser getMessage()
[mailer.git] / inc / libs / wernis_functions.php
index a6fe7be92ec518b10eadb5a87efd1adfc1019547..2c3a85df5b552df4d8ba8e5325694228610bd84b 100644 (file)
@@ -80,7 +80,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
                // Then abort here!
                return array(
                        'status'  => 'failed_general',
-                       'message' => getMessage('WERNIS_API_REQUEST_DATA_INVALID')
+                       'message' => '{--WERNIS_API_REQUEST_DATA_INVALID--}'
                );
        } // END - if
 
@@ -89,7 +89,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
                // Abort here...
                return array(
                        'status'  => 'failed_general',
-                       'message' => getMessage('WERNIS_API_REQUEST_DATA_MISSING')
+                       'message' => '{--WERNIS_API_REQUEST_DATA_MISSING--}'
                );
        } // END - if
 
@@ -148,7 +148,7 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
                        case 'AUTH': // Authorization has failed
                                $return = array(
                                        'status'  => 'auth_failed',
-                                       'message' => getMessage('WERNIS_API_REQUEST_FAILED_AUTH')
+                                       'message' => '{--WERNIS_API_REQUEST_FAILED_AUTH--}'
                                );
                                break;
 
@@ -157,28 +157,28 @@ function WERNIS_SEND_REQUEST ($scriptName, $requestData =  array()) {
                        case 'USER': // Missing account or invalid password
                                $return = array(
                                        'status'  => 'user_failed',
-                                       'message' => getMessage('WERNIS_API_REQUEST_FAILED_USER')
+                                       'message' => '{--WERNIS_API_REQUEST_FAILED_USER--}'
                                );
                                break;
 
                        case 'OWN': // Transfer to own account
                                $return = array(
                                        'status'  => 'own_failed',
-                                       'message' => getMessage('WERNIS_API_REQUEST_FAILED_OWN')
+                                       'message' => '{--WERNIS_API_REQUEST_FAILED_OWN--}'
                                );
                                break;
 
                        case 'AMOUNT': // Amount is depleted
                                $return = array(
                                        'status'  => 'amount_failed',
-                                       'message' => getMessage('WERNIS_API_REQUEST_FAILED_AMOUNT')
+                                       'message' => '{--WERNIS_API_REQUEST_FAILED_AMOUNT--}'
                                );
                                break;
 
                        case 'AMOUNT-SEND': // API amount is depleted
                                $return = array(
                                        'status'  => 'api_amount_failed',
-                                       'message' => getMessage('WERNIS_API_REQUEST_FAILED_API_AMOUNT')
+                                       'message' => '{--WERNIS_API_REQUEST_FAILED_API_AMOUNT--}'
                                );
                                break;