]> git.mxchange.org Git - mailer.git/blobdiff - inc/sql-functions.php
More '0' to NULL and fix for failing extension deprecation if no admin is logged in
[mailer.git] / inc / sql-functions.php
index 0d704543960b9cb4c966661ca58f9679e64b3e27..6e6e3bd28dfb5953fdb58ab75b157e791df9ed81 100644 (file)
@@ -6,20 +6,18 @@
  * -------------------------------------------------------------------- *
  * File              : sql-functions.php                                *
  * -------------------------------------------------------------------- *
- * Short description : All MySQL-related functions                      *
+ * Short description : SQL functions to handle queries                  *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Alle MySQL-Relevanten Funktionen                 *
+ * Kurzbeschreibung  : SQL-Funktionen fuer Queries                      *
  * -------------------------------------------------------------------- *
  * $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 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -54,6 +52,7 @@ function isSqlsInitialized () {
 
 // Setter for SQLs array
 function setSqlsArray ($SQLs) {
+       //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'count()='.count($SQLs));
        $GLOBALS['sqls'] = (array) $SQLs;
 }
 
@@ -115,7 +114,7 @@ function countSqls () {
 
 // Checks wether the SQLs array is filled
 function isSqlsValid () {
-       //* DEBUG: */ print __FUNCTION__.':'.intval(isSqlsInitialized()).'/'.countSqls().'/'.getCurrentExtensionName().'<br />';
+       //* DEBUG: */ debugOutput(__FUNCTION__ . ':' . intval(isSqlsInitialized()) . '/' . countSqls() . '/' . getCurrentExtensionName());
        return (
                (
                        isSqlsInitialized()