Skip to content

Commit

Permalink
More require_once clean-up (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Moc committed Mar 10, 2013
1 parent 94a4c1e commit 38c03a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions e107_admin/newspost.php
Original file line number Diff line number Diff line change
Expand Up @@ -1925,8 +1925,6 @@ function show_create_item()
$this->_pre_create();

require_once(e_HANDLER."userclass_class.php");
// require_once(e_HANDLER."form_handler.php");
// $frm = new e_form(true); //enable inner tabindex counter
$frm = e107::getForm();

$text = '';
Expand Down Expand Up @@ -3068,10 +3066,8 @@ function show_submitted_news()

function showMaintenance()
{
require_once(e_HANDLER."form_handler.php");
$frm = e107::getForm();


$text = "
<form method='post' action='".e_SELF."?maint' id='core-newspost-maintenance-form'>
<fieldset id='core-newspost-maintenance'>
Expand Down
13 changes: 0 additions & 13 deletions e107_admin/notify.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,11 @@
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_admin/notify.php,v $
* $Revision$
* $Date$
* $Author$
*/

/**
* @package e107
* @subpackage admin
* @version $Id$;
*
* 'Notify' admin page - selects action on various events
*/
Expand All @@ -34,14 +27,8 @@
$e_sub_cat = 'notify';

require_once('auth.php');

require_once(e_HANDLER.'userclass_class.php');
require_once(e_HANDLER.'form_handler.php');


//$emessage = &eMessage::getInstance();

$rs = new form;
$frm = e107::getForm();
$nc = new notify_config;
$uc = new user_class;
Expand Down

0 comments on commit 38c03a4

Please sign in to comment.