]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
inc/session.php is no longer needed.
[mailer.git] / inc / mysql-manager.php
index c26a12b991c15b93a9df2ac7756cf8b79b7fca2f..619b58c9ee068b839b6a038cae059c8a52f56c43 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Alle datenbank-relevanten Funktionen             *
  * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
@@ -658,7 +653,7 @@ function addMaxReceiveList ($mode, $default = '') {
                        break;
 
                default: // Invalid!
-                       logDebugMessage(__FUNCTION__, __LINE__, sprintf("Invalid mode %s detected.", $mode));
+                       logDebugMessage(__FUNCTION__, __LINE__, sprintf('Invalid mode %s detected.', $mode));
                        break;
        }
 
@@ -1789,7 +1784,7 @@ function generateReceiverList ($categoryId, $receiver, $mode = '') {
        if (isValidId($categoryId)) {
                // Select category
                $extraColumns  = "LEFT JOIN `{?_MYSQL_PREFIX?}_user_cats` AS `c` ON `d`.`userid`=`c`.`userid`";
-               $addWhere = sprintf(" AND `c`.`cat_id`=%s", $categoryId);
+               $addWhere = sprintf(' AND `c`.`cat_id`=%s', $categoryId);
        } // END - if
 
        // Exclude users in holiday?
@@ -2188,7 +2183,7 @@ function doGenericEditEntriesConfirm ($tableName, $columns = array(), $filterFun
                $content = array();
 
                // Prepare SQL for this row
-               $sql = sprintf("UPDATE `{?_MYSQL_PREFIX?}_%s` SET",
+               $sql = sprintf('UPDATE `{?_MYSQL_PREFIX?}_%s` SET',
                        sqlEscapeString($tableName[0])
                );