From b2410dd2d7ab6eca934e2cb07b68affd61942956 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 Mar 2008 15:01:02 +0000 Subject: [PATCH] Removed debug output -Get Tagging working, now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9681 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../departments/class_departmentGeneric.inc | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc index a7f12d069..f4344bc95 100644 --- a/gosa-core/plugins/admin/departments/class_departmentGeneric.inc +++ b/gosa-core/plugins/admin/departments/class_departmentGeneric.inc @@ -57,7 +57,7 @@ class department extends plugin function department (&$config, $dn) { - echo __FUNCTION__; + plugin::plugin($config, $dn); $this->is_account= TRUE; $this->ui= get_userinfo(); @@ -89,7 +89,6 @@ class department extends plugin function execute() { - echo __FUNCTION__."
"; /* Call parent execute */ plugin::execute(); @@ -173,7 +172,6 @@ class department extends plugin function clear_fields() { - echo __FUNCTION__."
"; $this->dn = ""; $this->base = ""; @@ -184,7 +182,6 @@ class department extends plugin function remove_from_parent() { - echo __FUNCTION__."
"; $ldap= $this->config->get_ldap_link(); $ldap->cd ($this->dn); $ldap->recursive_remove(); @@ -199,13 +196,11 @@ class department extends plugin function must_be_tagged() { - echo __FUNCTION__."
"; return $this->must_be_tagged; } function am_i_moved() { - echo __FUNCTION__."
"; return $this->rec_cpy; } @@ -213,7 +208,6 @@ class department extends plugin /* Save data to object */ function save_object() { - echo __FUNCTION__."
"; if (isset($_POST['dep_generic_posted'])){ /* Create a base backup and reset the @@ -246,7 +240,6 @@ class department extends plugin /* Check values */ function check() { - echo __FUNCTION__."
"; /* Call common method to give check the hook */ $message= plugin::check(); @@ -290,7 +283,6 @@ class department extends plugin /* Save to LDAP */ function save() { - echo __FUNCTION__."
"; $ldap= $this->config->get_ldap_link(); /* Add tag objects if needed */ @@ -354,6 +346,7 @@ class department extends plugin } if ($has_unit_tag == false && $this->is_administrational_unit == false){ $this->attrs['gosaUnitTag']= array(); + $this->gosaUnitTag = ""; } else { $this->attrs['gosaUnitTag']= $this->gosaUnitTag; } @@ -388,7 +381,6 @@ class department extends plugin function ShowMoveFrame() { - echo __FUNCTION__."
"; $smarty = get_smarty(); $smarty->assign("src","?plug=".$_GET['plug']."&PerformRecMove&no_output_compression"); $smarty->assign("message","As soon as the move operation has finished, you can scroll down to end of the page and press the 'Continue' button to continue with the department management dialog."); @@ -398,7 +390,6 @@ class department extends plugin function ShowTagFrame() { - echo __FUNCTION__."
"; $smarty = get_smarty(); $smarty->assign("src","?plug=".$_GET['plug']."&TagDepartment&no_output_compression"); $smarty->assign("message","As soon as the tag operation has finished, you can scroll down to end of the page and press the 'Continue' button to continue with the department management dialog."); @@ -409,7 +400,6 @@ class department extends plugin /* Tag objects to have the gosaAdministrativeUnitTag */ function tag_objects($OnlySetTagFlag = false) { - echo __FUNCTION__."
"; if(!$OnlySetTagFlag){ $smarty= get_smarty(); /* Print out html introduction */ @@ -483,7 +473,6 @@ class department extends plugin /* Move/Rename complete trees */ function recursive_move($src_dn, $dst_dn,$force = false) { - echo __FUNCTION__."
"; /* If force == false prepare to recursive move this object from src to dst on the next call. */ if(!$force){ @@ -584,7 +573,6 @@ class department extends plugin /* Return plugin informations for acl handling */ static function plInfo() { - echo __FUNCTION__."
"; return (array("plShortName" => _("Generic"), "plDescription" => _("Departments"), "plSelfModify" => FALSE, @@ -610,7 +598,6 @@ class department extends plugin function handle_object_tagging($dn= "", $tag= "", $show= false) { - echo __FUNCTION__."
"; /* No dn? Self-operation... */ if ($dn == ""){ $dn= $this->dn; -- 2.30.2