<?php
-/************************************************************************
- * Mailer v0.2.1-FINAL Start: 12/27/2004 *
- * =================== Last change: 06/20/2010 *
- * *
- * -------------------------------------------------------------------- *
- * File : daily_engine.php *
- * -------------------------------------------------------------------- *
- * Short description : Things for the engine on daily reset *
- * -------------------------------------------------------------------- *
- * Kurzbeschreibung : Dinge, die beim taeglichen Reset erledigt werden *
- * -------------------------------------------------------------------- *
- * $Revision:: $ *
- * $Date:: $ *
- * $Tag:: 0.2.1-FINAL $ *
- * $Author:: $ *
- * -------------------------------------------------------------------- *
- * Copyright (c) 2003 - 2009 by Roland Haeder *
- * Copyright (c) 2009 - 2011 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('engine')) {
- logDebugMessage(__FILE__, __LINE__, 'Not resetting, needed extension disabled.');
- return;
-}
-
-// Debug line
-//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset started.');
-
-// Debug line
-//* DEBUG: */ logDebugMessage(__FILE__, __LINE__, 'Daily reset ended.');
-
-// [EOF]
+// @DEPRECATED
?>
$DESCRs[] = '{--ADMIN_TASK_LIST_EXTENSIONS_ACTIVE--}';
$TITLEs[] = '{--ADMIN_TASK_LIST_EXTENSIONS_ACTIVE_TITLE--}';
- if (isExtensionActive('engine')) {
- // List all export accounts
- addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_engine_accounts` ORDER BY `id` ASC');
- $WHATs[] = 'list_engine';
- $DESCRs[] = '{--ADMIN_TASK_LIST_ENGINE--}';
- $TITLEs[] = '{--ADMIN_TASK_LIST_ENGINE_TITLE--}';
-
- // List all pending accounts
- addSql("SELECT `id` FROM `{?_MYSQL_PREFIX?}_engine_accounts` WHERE `status`='UNCONFIRMED' ORDER BY `id` ASC");
- $WHATs[] = 'unlock_engine';
- $DESCRs[] = '{--ADMIN_TASK_UNLOCK_ENGINE--}';
- $TITLEs[] = '{--ADMIN_TASK_UNLOCK_ENGINE_TITLE--}';
-
- // List all safes
- addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_engine_safe` ORDER BY `id` ASC');
- $WHATs[] = 'list_engine&mode=safe';
- $DESCRs[] = '{--ADMIN_TASK_LIST_ENGINE_SAFES--}';
- $TITLEs[] = '{--ADMIN_TASK_LIST_ENGINE_SAFES_TITLE--}';
-
- // List all export URLs
- addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_engine_urls` ORDER BY `id` ASC');
- $WHATs[] = 'engine_urls';
- $DESCRs[] = '{--ADMIN_TASK_LIST_ENGINE_URLS--}';
- $TITLEs[] = '{--ADMIN_TASK_LIST_ENGINE_URLS_TITLE--}';
- } // END - if
-
if (isExtensionActive('sponsor')) {
// List all sponsors
addSql('SELECT `id` FROM `{?_MYSQL_PREFIX?}_sponsor_data` ORDER BY `id` ASC');