index ed3c20418d27478c4a9e72cb41e6f2d48ab111de..034f8cefe107b388f1f5a2a2cb6ee0acc628486e 100644 (file)
/* This function calls all nescessary functions to generate the fai class summary tree */
function execute()
{
+
+ /* Skip this if fai is deactivated */
+ $tmp = search_config($this->config->data,"faiManagement","CLASS");
+ if(empty($tmp)){
+ $str = "<h2>"._("You can't use this plugin until FAI is activated.")."</h2>";
+ return $str;
+ }
+
/* Check if we must (re)init the this tab */
if(!$this->InitCalled){
$this->init();