removed not used instanciation of old sbox class

This commit is contained in:
Ralf Becker 2006-07-06 20:15:11 +00:00
parent a446185de0
commit 9d4ddba49b

View File

@ -919,8 +919,6 @@
function create_edit_group($group_info,$_errors='') function create_edit_group($group_info,$_errors='')
{ {
$sbox =& CreateObject('phpgwapi.sbox');
unset($GLOBALS['egw_info']['flags']['noheader']); unset($GLOBALS['egw_info']['flags']['noheader']);
unset($GLOBALS['egw_info']['flags']['nonavbar']); unset($GLOBALS['egw_info']['flags']['nonavbar']);
if(!@is_object($GLOBALS['egw']->js)) if(!@is_object($GLOBALS['egw']->js))
@ -1030,7 +1028,6 @@
{ {
$GLOBALS['egw_info']['flags']['include_xajax'] = true; $GLOBALS['egw_info']['flags']['include_xajax'] = true;
$sbox =& CreateObject('phpgwapi.sbox');
$jscal =& CreateObject('phpgwapi.jscalendar'); $jscal =& CreateObject('phpgwapi.jscalendar');
unset($GLOBALS['egw_info']['flags']['noheader']); unset($GLOBALS['egw_info']['flags']['noheader']);