]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
More references to removed (still some left)
[mailer.git] / inc / libs / wernis_functions.php
index e8e6d9a59b95e25bfad0689e35e955e35a237d89..89adec715d09d743c95ba49ba2e06bb75876a27f 100644 (file)
@@ -261,13 +261,11 @@ function WERNIS_EXECUTE_WITHDRAW ($wdsId, $userMd5, $amount) {
 
 // Payout this amount
 function WERNIS_EXECUTE_PAYOUT ($wdsId, $amount) {
-       global $_CONFIG;
-
        // Default is failed attempt
        $result = false;
 
        // Prepare the purpose
-       $eval = "\$purpose = \"".COMPILE_CODE(sprintf(WERNIS_API_PURPOSE_PAYOUT, $GLOBALS['userid']))."\";";
+       $eval = "\$purpose = \"".COMPILE_CODE(sprintf(getMessage('WERNIS_API_PURPOSE_PAYOUT'), $GLOBALS['userid']))."\";";
        eval($eval);
 
        // Prepare the request data