]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Added purging of subid and server_name logs
[mailer.git] / inc / libs / other_functions.php
index ae30baba48187eb69b0910a9a37f734237b05339..f6ee8282e35d90bc209a67724e9545778362b0d9 100644 (file)
  * $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 - 2012 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 *
@@ -52,23 +50,14 @@ function displayDebugSqls () {
                $content['timing']   = translateComma($content['timing'] * 1000);
 
                // Load row template
-               $OUT .= loadTemplate('admin_other_sqls_row', true, $content);
+               $OUT .= loadTemplate('admin_other_sqls_row', TRUE, $content);
 
                // Count one up
                $i++;
        } // END - foreach
 
        // Load main template
-       $GLOBALS['page_footer'] .= loadTemplate('admin_other_sqls', true, $OUT);
-}
-
-// Filter for debugging SQLs
-function FILTER_DISPLAY_DEBUG_SQL () {
-       // Shall we display SQL queries?
-       if ((isAdmin()) && (isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y') && (!isGetRequestParameterSet('frame')) && ($GLOBALS['header_sent'] == 2)) {
-               // Then display it here
-               displayDebugSqls();
-       } // END - if
+       $GLOBALS['__page_footer'] .= loadTemplate('admin_other_sqls', TRUE, $OUT);
 }
 
 // [EOF]