diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index 2fbda70488236f0ae6e09bed98af62f0c586c684..4ce45768e3d2617db56bcf23390eeb6bac7d8b23 100644 (file)
var $FAIdebianMirror = "auto";
var $unresolved_classes = array();
var $FAIdebianMirror = "auto";
var $unresolved_classes = array();
-
+ var $view_logged = FALSE;
/* FAI class selection */
var $InheritedFAIclass = array();
/* FAI class selection */
var $InheritedFAIclass = array();
if (!isset($this->gotoBootKernels['default-inherited']) && $this->gotoBootKernel == "default-inherited"){
$this->gotoBootKernel= "default";
}
if (!isset($this->gotoBootKernels['default-inherited']) && $this->gotoBootKernel == "default-inherited"){
$this->gotoBootKernel= "default";
}
-
- if($this->is_account){
- @log::log("view","workstation/".get_class($this),$this->dn);
- }
}
}
/* Call parent execute */
plugin::execute();
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","workstation/".get_class($this),$this->dn);
+ }
+
/* Do we need to flip is_account state? */
if(isset($_POST['modify_state'])){
if($this->is_account && $this->acl_is_removeable()){
/* Do we need to flip is_account state? */
if(isset($_POST['modify_state'])){
if($this->is_account && $this->acl_is_removeable()){