admin/department.php 1 location
|
@@ 972-978 (lines=7) @@
|
969 |
|
header('Location: ' . xhelpMakeURI(XHELP_ADMIN_URL.'/department.php', array('op'=>'editDepartment', 'deptid'=>$deptid), false)); |
970 |
|
} |
971 |
|
|
972 |
|
function _clearEditSessionVars($id) |
973 |
|
{ |
974 |
|
$id = intval($id); |
975 |
|
$session = Session::singleton(); |
976 |
|
$session->del("xhelp_editDepartment_$id"); |
977 |
|
$session->del("xhelp_editDepartmentErrors_$id"); |
978 |
|
} |
979 |
|
|
980 |
|
function updateDefault() |
981 |
|
{ |
admin/fields.php 1 location
|
@@ 765-771 (lines=7) @@
|
762 |
|
$session->del('xhelp_addFieldErrors'); |
763 |
|
} |
764 |
|
|
765 |
|
function _clearEditSessionVars($id) |
766 |
|
{ |
767 |
|
$id = intval($id); |
768 |
|
$session = Session::singleton(); |
769 |
|
$session->del("xhelp_editField_$id"); |
770 |
|
$session->del("xhelp_editFieldErrors_$id"); |
771 |
|
} |
772 |
|
|
admin/mimetypes.php 1 location
|
@@ 739-745 (lines=7) @@
|
736 |
|
header('Location: ' . xhelpMakeURI(XHELP_ADMIN_URL.'/mimetypes.php', array('op'=>'add'), false)); |
737 |
|
} |
738 |
|
|
739 |
|
function _clearEditSessionVars($id) |
740 |
|
{ |
741 |
|
$id = intval($id); |
742 |
|
$session = Session::singleton(); |
743 |
|
$session->del("xhelp_editMime_$id"); |
744 |
|
$session->del("xhelp_editMimeErr_$id"); |
745 |
|
} |
746 |
|
|
747 |
|
function clearEditSession() |
748 |
|
{ |