]> git.mxchange.org Git - mailer.git/blobdiff - inc/pool/pool-bonus.php
Code style changed, ext-user continued:
[mailer.git] / inc / pool / pool-bonus.php
index 001d12b8eae8905ada3d01e1ec80d9a409404ffc..58ea34151ca1904b52faf657acef63f454805ba8 100644 (file)
@@ -43,10 +43,10 @@ if (!defined('__SECURITY')) {
 // Don't run on daily reset
 if ((isResetModeEnabled()) || (!isHtmlOutputMode())) {
        // Skip here
-       return false;
+       return FALSE;
 } elseif (!isExtensionActive('bonus')) {
        // Abort if extension bonus is not active
-       return false;
+       return FALSE;
 }
 
 // Only send bonus mail when bonus extension is active and maximum send-mails is not reached
@@ -117,7 +117,7 @@ ORDER BY
                                        //* DEBUG: */ debugOutput('OK!/L:'.__LINE__);
 
                                        // Remove receiver from list
-                                       $status = removeReceiver($temporaryReceivers, $key, $userid, $mailData['id'], $mailData['id'], true);
+                                       $status = removeReceiver($temporaryReceivers, $key, $userid, $mailData['id'], $mailData['id'], TRUE);
 
                                        // Did it work?
                                        switch ($status) {
@@ -209,7 +209,7 @@ LIMIT 1",
                                                implode(';', $temporaryReceivers),
                                                bigintval($mailData['id'])
                                        ), __FILE__, __LINE__);
-                               //* DEBUG: */ debugOutput('*L:'.__LINE__.'<pre>'.print_r($temporaryReceivers, true).'</pre>!!!');
+                               //* DEBUG: */ debugOutput('*L:'.__LINE__.'<pre>'.print_r($temporaryReceivers, TRUE).'</pre>!!!');
 
                                // Run any SQLs
                                runFilterChain('run_sqls');