]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/wernis_functions.php
New debugging function debugOutput() introduced, some rewrites to EL:
[mailer.git] / inc / libs / wernis_functions.php
index adffe64f9037dfa1de06c6a19035e63d76aaf0b9..83cdb59ceff0240c35c6b25cd04b60c06bea6bdc 100644 (file)
@@ -344,7 +344,7 @@ function WERNIS_LOG_TRANSFER ($wdsId, $amount, $type = 'FAILED', $message = '',
 // Take fees and factor
 function WERNIS_TAKE_FEE ($points, $mode) {
        // Payout or withdraw are allowed modes!
-       //* DEBUG: */ outputHtml("mode={$mode},points={$points}<br />");
+       //* DEBUG: */ debugOutput('mode='.$mode.',points='.$points);
        if (!in_array($mode, array('payout', 'withdraw'))) {
                // Log error and abort
                logDebugMessage(__FUNCTION__, __LINE__, "userid={getMemberId()},mode={$mode},points={$points}");
@@ -370,7 +370,7 @@ function WERNIS_TAKE_FEE ($points, $mode) {
        }
 
        // Return value
-       //* DEBUG: */ outputHtml("mode={$mode},points={$points}<br />");
+       //* DEBUG: */ debugOutput('mode='.$mode.',points='.$points);
        return $points;
 }