Also reset (aka daily reset scripts) renamed. The naming 'reset' came from the time...
[mailer.git] / inc / reset / reset_autopurge.php
index 518d3601e4d6398e73d3b5e7ad9698f3d1a8edc2..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,66 +1,3 @@
 <?php
-/************************************************************************
- * Mailer v0.2.1-FINAL                                Start: 10/27/2009 *
- * ===================                          Last change: 06/20/2010 *
- *                                                                      *
- * -------------------------------------------------------------------- *
- * File              : reset_autopurge.php                              *
- * -------------------------------------------------------------------- *
- * Short description : Automatical purging of outdated mail links       *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : Auto-Loeschung von veralteten Mail-Links         *
- * -------------------------------------------------------------------- *
- * $Revision::                                                        $ *
- * $Date::                                                            $ *
- * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author::                                                          $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.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 *
- * the Free Software Foundation; either version 2 of the License, or    *
- * (at your option) any later version.                                  *
- *                                                                      *
- * This program is distributed in the hope that it will be useful,      *
- * but WITHOUT ANY WARRANTY; without even the implied warranty of       *
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        *
- * GNU General Public License for more details.                         *
- *                                                                      *
- * You should have received a copy of the GNU General Public License    *
- * along with this program; if not, write to the Free Software          *
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,               *
- * MA  02110-1301  USA                                                  *
- ************************************************************************/
-
-// Some security stuff...
-if (!defined('__SECURITY')) {
-       die();
-} elseif ((!isHtmlOutputMode()) || (!isResetModeEnabled())) {
-       // Do not execute when script is in CSS mode or no daily reset
-       return;
-} elseif (!isExtensionActive('autopurge')) {
-       logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
-       return;
-}
-
-// Debug line
-//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.');
-
-// Init & set the include pool
-initIncludePool('autopurge');
-setIncludePool('autopurge', getArrayFromDirectory('inc/autopurge/', 'purge-'));
-
-// Run the filter
-runFilterChain('load_includes', 'autopurge');
-
-// Run filters for extra autopurge
-runFilterChain('extra_autopurge');
-
-// Debug line
-//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.');
-
-// [EOF]
+// @DEPRECATED
 ?>