summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96bcf1c)
raw | patch | inline | side by side (parent: 96bcf1c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jan 2008 07:01:20 +0000 (07:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 4 Jan 2008 07:01:20 +0000 (07:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8203 594d385d-05f5-0310-b6e9-bd551577e9d8
16 files changed:
index 68b073dee490500dc34a0d58e316af4576d99771..3ad4fd81cd4c2a6244f15a105a2b1b3e50e4af16 100644 (file)
xml_set_element_handler($this->parser, "tag_open", "tag_close");
$this->parse($this->filename);
if(session::is_set('plist')){
- unset($_SESSION['plist']);
+ session::un_set('plist');
}
if(session::is_set('plug')){
- unset($_SESSION['plug']);
+ session::un_set('plug');
}
if(isset($_GET['plug'])){
unset($_GET['plug']);
diff --git a/gosa-core/include/functions_helpviewer.inc b/gosa-core/include/functions_helpviewer.inc
index c04b8ac95a2209648296752c10c715715d86d01f..2f2e9c8142dee217999ba466d97b517eb78bfe25 100644 (file)
$useablewords =array(); // Temporary searchword handling
$tryword = ""; // Temporary searchword handling
$result['global']['maxhit'] = 0;
- unset($_SESSION['lastresults']);
+ session::un_set('lastresults');
unset($_SESSION['parsed_search_keyword']);
$_SESSION['parsed_search_keyword']="";
diff --git a/gosa-core/plugins/addons/godfs/class_dfsManagment.inc b/gosa-core/plugins/addons/godfs/class_dfsManagment.inc
index 913b2707e2e21cc0392c89240e47922670507fcb..4144eac58a60f742c98010ea64fa8885d6c50e7c 100644 (file)
unset ($this->dfstab);
$this->dfstab = NULL;
$this->dn = "";
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
# delete pressed
unset ($this->dfstab);
$this->dfstab = NULL;
$this->dn = "";
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
# generate main page no tabs
diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc
index 7a1b2ab2b2895bab6bd00b6f4aa156b161e0dc13..7e77a07c763d9867d3a2c973c4cb359583c099be 100644 (file)
********************/
if(isset($_POST['delete_lock'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Reset all relevant data, if we get a _cancel request */
unset ($this->acltabs);
}
$this->acltabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
unset ($this->acltabs);
$this->acltabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-core/plugins/admin/applications/class_applicationManagement.inc b/gosa-core/plugins/admin/applications/class_applicationManagement.inc
index f474b5b74676cfd210019eae954887698a41e4e4..9804b330a218e86553e9315ba8524968da45465b 100644 (file)
del_lock ($this->apptabs->dn);
unset ($this->apptabs);
$this->apptabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
unset ($this->apptabs);
$this->apptabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
/* Delete application canceled? */
if (isset($_POST['delete_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Show tab dialog if object is present */
diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc
index e2db188d1d4ad28d260a66edc56c446634a3340e..99e30816715382096b1b4a360ffbf9ccc2588095 100644 (file)
}
unset ($this->deptabs);
$this->deptabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
del_lock ($this->dn);
unset($this->depdabs);
$this->deptabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Headpage or normal plugin screen? */
diff --git a/gosa-core/plugins/admin/devices/class_deviceManagement.inc b/gosa-core/plugins/admin/devices/class_deviceManagement.inc
index 2558cc1353746d2f8896524d384bd7352a335bd9..a70644c5495fcb67f16aedd079acf6b0912c5576 100644 (file)
del_lock ($this->devicetabs->dn);
unset ($this->devicetabs);
$this->devicetabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
unset ($this->devicetabs);
$this->devicetabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
/* Delete device canceled? */
if (isset($_POST['delete_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Show tab dialog if object is present */
diff --git a/gosa-core/plugins/admin/fai/class_faiManagement.inc b/gosa-core/plugins/admin/fai/class_faiManagement.inc
index 178f000351402126fb200e62159b3767b0a41093..b0e6a92ea431c789e851ae901d4b557eaf288b8d 100644 (file)
unset($this->dialog);
$this->dialog=FALSE;
$this->is_dialog = false;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
del_lock ($this->dn);
}
unset($this->dialog);
$this->dialog=FALSE;
$this->is_dialog=false;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
}
diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc
index dbd073532ffe1a0961e61df3889a86f6917caf1b..fb8d0148982f0c221952cb20eb2e2a554e828ef2 100644 (file)
//$this->reload ();
unset ($this->grouptab);
$this->grouptab= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
/* Remove lock file after successfull deletion */
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Delete group canceled? */
if (isset($_POST['delete_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
unset ($this->grouptab);
$this->grouptab= NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
diff --git a/gosa-core/plugins/admin/mimetypes/class_mimetypeManagement.inc b/gosa-core/plugins/admin/mimetypes/class_mimetypeManagement.inc
index 4f8caed8219eeafe6ab6e38cc8041ea7f4209028..b52fed080668705687ea4e01343c3c8efb44c76f 100755 (executable)
del_lock ($this->mimetabs->dn);
unset ($this->mimetabs);
$this->mimetabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
unset ($this->mimetabs);
$this->mimetabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
/* Delete mime type canceled? */
if (isset($_POST['delete_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Show tab dialog if object is present */
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc
index dc0d3188a229560931fb6a37ef62efc4d88c7e78..9bce9c372cbc3152c9a8046466f974e0f7b7807f 100644 (file)
/* Remove lock file after successfull deletion */
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Delete group canceled? */
if (isset($_POST['delete_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
unset ($this->ogroup);
$this->ogroup= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
del_lock ($this->ogroup->dn);
unset ($this->ogroup);
$this->ogroup= NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
diff --git a/gosa-core/plugins/admin/systems/class_systemManagement.inc b/gosa-core/plugins/admin/systems/class_systemManagement.inc
index 205e70316c7bb24cec24fc7a5dc9fec65889df35..bb986e9dc20fb27e698ed5a4ca16ac9a8b2521d9 100644 (file)
}else{
print_red(_("Can't detect object to change password."));
}
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
/* Delete terminal canceled? */
if (isset($_POST['delete_cancel']) || isset($_POST['password_cancel'])){
del_lock ($this->dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
unset ($this->systab);
$this->systab= NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
} else {
/* Ok. There seem to be errors regarding to the tab data,
show message and continue as usual. */
unset ($this->systab);
}
$this->systab= NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
/* Remove ogroup selection, which was set while editing a new incoming entry */
if(isset($_SESSION['SelectedSystemType'])){
diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc
index 0b9e6ffad70c6e6451c0831fbedaaa17a87f38ad..f4641b984a2791e074c751eaf4cb22cb569b4d5a 100644 (file)
$this->sn= "";
$this->givenName= "";
$this->uid= "";
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
$this->sn= "";
$this->givenName= "";
$this->uid= "";
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
unset ($this->usertab);
$this->usertab= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,
diff --git a/gosa-core/plugins/gofax/blocklists/class_blocklistManagement.inc b/gosa-core/plugins/gofax/blocklists/class_blocklistManagement.inc
index c7e1175c6ac5ad7cc0935403d97ab92d64c36385..5b0ac1d0c4a74f9ca16c01d6dd56bd8aa82875d5 100644 (file)
del_lock ($this->dn);
$this->dialog = NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
del_lock ($this->dn);
$this->dn= "";
$this->dialog = NULL;
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Errors found, show message */
diff --git a/gosa-core/plugins/gofon/conference/class_phoneConferenceManagment.inc b/gosa-core/plugins/gofon/conference/class_phoneConferenceManagment.inc
index eabc6e2ae6907e2d4a9d4b442519551399347101..2f711df44f52de1bad5cdce09268195a17aac28e 100644 (file)
$this->conftab= NULL;
$this->lognames= array();;
$this->cn= "";
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
$this->dn= "new";
$this->conftab= new conferencetabs($this->config,$this->config->data['TABS']['CONFERENCETABS'], $this->dn,"gofonconference");
$this->conftab->set_acl_base($dummy_dn);
- unset($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
}
del_lock ($this->conftab->dn);;
unset ($this->conftab);
$this->conftab= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
} else {
show_errors($message);
}
diff --git a/gosa-core/plugins/gofon/macro/class_gofonMacroManagement.inc b/gosa-core/plugins/gofon/macro/class_gofonMacroManagement.inc
index 764a445bb0f5f64fe8eaf90888755886a27c195d..91738fd7e137bcdd524799f3050e73dca2796a9a 100755 (executable)
del_lock ($this->macrotabs->dn);
unset ($this->macrotabs);
$this->macrotabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
unset ($this->macrotabs);
$this->macrotabs= NULL;
- unset ($_SESSION['objectinfo']);
+ session::un_set('objectinfo');
}
} else {
/* Ok. There seem to be errors regarding to the tab data,