summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1d71d21)
raw | patch | inline | side by side (parent: 1d71d21)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 09:01:04 +0000 (09:01 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Feb 2008 09:01:04 +0000 (09:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9094 594d385d-05f5-0310-b6e9-bd551577e9d8
index 3527494d88e01990e729d981e3ed15fb021018b2..acdcbfe085bdf04bd0e926118a3cac885ef7c76f 100644 (file)
}
/* Handle tagging */
- $this->tag_attrs(&$this->attrs);
+ $this->tag_attrs($this->attrs);
}
}
}
- function tag_attrs($at, $dn= "", $tag= "", $show= false)
+ function tag_attrs(&$at, $dn= "", $tag= "", $show= false)
{
/* No dn? Self-operation... */
if ($dn == ""){
}
/* Remove tags that may already be here... */
- remove_objectClass("gosaAdministrativeUnitTag", &$at);
+ remove_objectClass("gosaAdministrativeUnitTag", $at);
if (isset($at['gosaUnitTag'])){
unset($at['gosaUnitTag']);
}
/* Set tag? */
if ($tag != ""){
- add_objectClass("gosaAdministrativeUnitTag", &$at);
+ add_objectClass("gosaAdministrativeUnitTag", $at);
$at['gosaUnitTag']= $tag;
}
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc
index f1fec85fcca50681474f10bb2c4d8609f81ac458..6067bfb9b6d8887065fda469684f0d94c3c0e1cc 100644 (file)
}
/* Tag object */
- $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+ $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
if($obj['status'] == "delete"){
FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index 277cf664685c64b67209284c5aa301c534f70811..c1b4b3f613744b08a09c9ba54b85b9665f442fba 100644 (file)
$pkgdn = "FAIvariable=".$name.",".$this->dn;
/* Tag object */
- $this->tag_attrs(&$pkgattrs, $pkgdn, $this->gosaUnitTag);
+ $this->tag_attrs($pkgattrs, $pkgdn, $this->gosaUnitTag);
if(in_array($pkgattrs['FAIvariableType'],array("boolean","multiselect","password","select","string","text"))){
FAI::prepare_to_save_FAI_object($pkgdn,$pkgattrs);
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index 99417316ef67624c8a4e2bbec8a979b8e1f565ac..d463f2a222555860700990970538121feca0e694 100644 (file)
}
/* Tag object */
- $this->tag_attrs(&$disk_attrs, $disk_dn, $this->gosaUnitTag);
+ $this->tag_attrs($disk_attrs, $disk_dn, $this->gosaUnitTag);
if($disk['status'] == "delete"){
FAI::prepare_to_save_FAI_object($disk_dn,array(),true);
}
/* Tag object */
- $this->tag_attrs(&$partition_attrs, $partition_dn, $this->gosaUnitTag);
+ $this->tag_attrs($partition_attrs, $partition_dn, $this->gosaUnitTag);
if($partition['status'] == "delete"){
FAI::prepare_to_save_FAI_object($partition_dn,array(),true);
diff --git a/gosa-plugins/fai/admin/fai/class_faiScript.inc b/gosa-plugins/fai/admin/fai/class_faiScript.inc
index d47ed33c3decee0e89045fea91066c6086163f9d..87592976cbb1f4d5212bd86a45a44b165b872604 100644 (file)
}
/* Tag object */
- $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+ $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
if($obj['status'] == "delete"){
FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 50add1a379a38ff3f827b56b257fcea2095e7979..863ee2b3e877252db0be0d0c9543cebdacf9d167 100644 (file)
}
/* Tag object */
- $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+ $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
if($obj['status'] == "delete"){
FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc
index 7229e3634c56fc752078220ed95e0910109a1e5d..aea362f0582d4e9776785b49b0057abc8d545245 100644 (file)
}
/* Tag object */
- $this->tag_attrs(&$tmp, $sub_dn, $this->gosaUnitTag);
+ $this->tag_attrs($tmp, $sub_dn, $this->gosaUnitTag);
if($obj['status'] == "delete"){
FAI::prepare_to_save_FAI_object($sub_dn,array(),true);
diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index a51a11622c52a798d42e612548767793d6d66a66..f18076844baa6fa707e616077e74cb710c4758d8 100644 (file)
$all = $this->_get_all_entries();
$key = $this->_get_release_key($release);
if(isset($all[$key]) && count($all[$key]['ENTRIES'])){
- $res = $this->_get_all_entries(TRUE,TRUE,&$all[$key]['ENTRIES']);
+ $res = $this->_get_all_entries(TRUE,TRUE,$all[$key]['ENTRIES']);
return($res);
}
return(array());
@param Boolean $add_tags If TRUE, OPEN/CLOSE Tags will be appended.
@param &Array Start here, Pointer to an array.
*/
- function _get_all_entries($add_tags = FALSE, $skip_release = FALSE, $cur = NULL)
+ function _get_all_entries($add_tags = FALSE, $skip_release = FALSE, &$cur = NULL)
{
$ret = array();
if($cur == NULL){
if(!$add_tags){
$ret[$tmp['UNIQID']] = &$cur[$key];
if(isset($entry['ENTRIES']) && count($entry['ENTRIES'])){
- $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,&$cur[$key]['ENTRIES']));
+ $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,$cur[$key]['ENTRIES']));
}
}else{
if($add){
$ret[] = array("TYPE" => "OPEN", "PARENT" => $entry['PARENT']);
- $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,&$cur[$key]['ENTRIES']));
+ $ret = array_merge($ret,$this->_get_all_entries($add_tags,$skip_release,$cur[$key]['ENTRIES']));
$ret[] = array("TYPE" => "CLOSE" , "PARENT" => $entry['PARENT']);
}
}
diff --git a/gosa-plugins/mail/personal/mail/sieve/class_parser.inc b/gosa-plugins/mail/personal/mail/sieve/class_parser.inc
index 345895231f2ec801cd55107e00153f68ec004406..5326c2b37628e133d50cec03c838d22830e8b639 100644 (file)
function arguments_($parent_id, &$semantics)
{
- while ($this->argument_($parent_id, &$semantics))
+ while ($this->argument_($parent_id, $semantics))
;
if ($this->status_ == true)
return $this->success_();
}
- return $this->stringlist_($parent_id, &$semantics);
+ return $this->stringlist_($parent_id, $semantics);
}
function stringlist_($parent_id, &$semantics)
{
if (!$this->scanner_->nextTokenIs('left-bracket'))
{
- return $this->string_($parent_id, &$semantics);
+ return $this->string_($parent_id, $semantics);
}
$token = $this->scanner_->nextToken();
while ($token['class'] != 'right-bracket')
{
- if (!$this->string_($parent_id, &$semantics))
+ if (!$this->string_($parent_id, $semantics))
{
return $this->status_;
}