diff --git a/plugins/admin/systems/class_servRepository.inc b/plugins/admin/systems/class_servRepository.inc
index 740fdf0ea6a668b85825bcf73751db54c7b6ee25..27bb610f73c6c9257e7907199fc1c0a65c59c502 100644 (file)
var $conflicts = array("FAIrepositoryServer");
var $DisplayName = "";
var $StatusFlag = "";
-
+
+ var $view_logged = FALSE;
var $fai_activated = FALSE;
function servrepository ($config, $dn= NULL, $parent= NULL)
$this->repositories[$tmp[2]]=$tmp2;
}
}
-
- if($this->is_account){
- @log::log("view","server/".get_class($this),$this->dn);
- }
}
function execute()
/* Call parent execute */
plugin::execute();
+ if($this->is_account && !$this->view_logged){
+ $this->view_logged = TRUE;
+ @log::log("view","server/".get_class($this),$this->dn);
+ }
+
if(!$this->fai_activated){
$str = "<h2>"._("You can't use this plugin until FAI is activated.")."</h2>";
return $str;