]> git.mxchange.org Git - mailer.git/blobdiff - inc/monthly/monthly_newsletter.php
A lot double-quotes rewritten to single-quotes, some redirect URLs fixed
[mailer.git] / inc / monthly / monthly_newsletter.php
index 9e7dbfe7effa58c39db9a78093ce4bdf94330ad7..a85faab0dc571a47c490e27b6de92ad0e6b9908c 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Monatlicher Test auf Newsletter-Abmeldungen      *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author::                                                          $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -33,9 +38,9 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
-} elseif (!EXT_IS_ACTIVE("newsletter")) {
+} elseif (!EXT_IS_ACTIVE('newsletter')) {
        return;
 }
 
@@ -61,7 +66,7 @@ if (getConfig('last_month') != $curr) {
                        SEND_EMAIL($content['email'], getMessage('NL_MEMBER_RESET_SUBJECT'), $msg);
 
                        // Send email to admin
-                       SEND_ADMIN_NOTIFICATION(getMessage('NL_ADMIN_SUBJECT'), "admin_newsletter_reset", array(), $GLOBALS['userid']);
+                       SEND_ADMIN_NOTIFICATION(getMessage('NL_ADMIN_SUBJECT'), "admin_newsletter_reset", array(), getUserId());
                } // END - if
 
                // Free memory