From: hickert Date: Wed, 12 Mar 2008 08:24:25 +0000 (+0000) Subject: Updated comments. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=905220cfcc803f78a20f3fe1d79c6ce7b523d0a6;p=gosa.git Updated comments. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9697 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc index abd57aae8..e587e2006 100644 --- a/gosa-core/plugins/admin/departments/class_departmentManagement.inc +++ b/gosa-core/plugins/admin/departments/class_departmentManagement.inc @@ -271,10 +271,9 @@ class departmentManagement extends plugin /*************** - Handle recursive move (Return output for an iframe) + Handle tagging/recursive move (Return output for an iframe) ***************/ - /* initiate recursive remove (Is called from iframe, generates output)*/ if(isset($_GET['PerformRecMove'])){ $this->deptabs->move_me(); @@ -307,7 +306,7 @@ class departmentManagement extends plugin /************* MOVED ? - Check if this department is moved + Check if this department has to be moved *************/ if(!isset($_POST['dep_move_confirm']) && $this->deptabs->am_i_moved()){ return($smarty->fetch(get_template_path("dep_move_confirm.tpl",TRUE))); diff --git a/gosa-core/plugins/admin/departments/tabs_department.inc b/gosa-core/plugins/admin/departments/tabs_department.inc index 4788b8acc..4f29396fc 100644 --- a/gosa-core/plugins/admin/departments/tabs_department.inc +++ b/gosa-core/plugins/admin/departments/tabs_department.inc @@ -41,6 +41,9 @@ class deptabs extends tabs } + /*! \brief Check if the department must must be moved + return Boolean TRUE if we have to move the dep, else FALSE + */ function am_i_moved() { if($this->moved) return(FALSE); @@ -55,13 +58,18 @@ class deptabs extends tabs return(FALSE); } - + + /*! \brief Checks if the department was moved successfully + @return Boolean TRUE if the dep was already moved. + */ function move_done() { return($this->moved); } + /*! \brief Initiate recursive move + */ function move_me() { if(!$this->am_i_moved()) return;