Extension ext-engine is dead and will never come back
authorRoland Häder <roland@mxchange.org>
Tue, 28 Jun 2011 10:56:42 +0000 (10:56 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 28 Jun 2011 10:56:42 +0000 (10:56 +0000)
inc/daily/daily_engine.php
inc/libs/task_functions.php
inc/modules/admin/what-edit_emails.php
inc/mysql-manager.php

index a029f58..f551ef4 100644 (file)
@@ -1,56 +1,3 @@
 <?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
 ?>
index 46dd7e1..7636970 100644 (file)
@@ -425,32 +425,6 @@ ORDER BY
        $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&amp;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');
index 7147fc8..cf78ba0 100644 (file)
@@ -14,8 +14,6 @@
  * $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 - 2011 by Mailer Developer Team                   *
index dfea280..15a1126 100644 (file)
@@ -108,8 +108,8 @@ function addYouAreHereLink ($accessLevel, $FQFN, $return = false) {
 
                $dummy = substr($search, 0, -4);
                $ADD .= sprintf(" AND `action`='%s'", getActionFromModuleWhat($accessLevel, $dummy));
-       } elseif (($accessLevel == 'sponsor') || ($accessLevel == 'engine')) {
-               // Sponsor / engine menu
+       } elseif ($accessLevel == 'sponsor') {
+               // Sponsor menu
                $type     = 'what';
                $search   = $file;
                $modCheck = getModule();