Skip to content

Commit

Permalink
Issue #125 - require_once cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed Mar 4, 2013
1 parent 01fff75 commit 394d7dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
10 changes: 1 addition & 9 deletions e107_admin/users_extended.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
/*
* e107 website system
*
* Copyright (C) 2008-2011 e107 Inc (e107.org)
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $URL$
* $Id$
*/

require_once('../class2.php');
Expand All @@ -35,7 +31,6 @@

$curtype = '1';
require_once("auth.php");
require_once(e_HANDLER.'message_handler.php');
$ue = new e107_user_extended;
$user = new users_ext;

Expand All @@ -47,9 +42,6 @@






$message = '';
$message_type = E_MESSAGE_SUCCESS;

Expand Down
9 changes: 1 addition & 8 deletions e107_plugins/calendar_menu/admin_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
*
* Event calendar plugin - admin functions
*
* $URL*
* $Id$
*/

/**
Expand All @@ -19,7 +17,6 @@
*
* @package e107_plugins
* @subpackage event_calendar
* @version $Id$;
*/

$eplug_admin = true; // Make sure we show admin theme
Expand All @@ -34,15 +31,11 @@

include_lan(e_PLUGIN.'calendar_menu/languages/'.e_LANGUAGE.'_admin_calendar_menu.php');

require_once(e_HANDLER.'form_handler.php');
$frm = e107::getForm();

require_once(e_HANDLER.'message_handler.php');
$mes = e107::getMessage();


$sql = e107::getDb();
$uc = e107::getUserClass(); // Userclass object pointer

$message = '';
$calendarmenu_text = '';

Expand Down

0 comments on commit 394d7dd

Please sign in to comment.