Code

Updated opsi enabled check.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Oct 2008 10:28:02 +0000 (10:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 6 Oct 2008 10:28:02 +0000 (10:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12607 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsi/class_opsi.inc

index 6a8f9ec9d9bb43ed62a5e5592ab85fabae2f4042..4dac33af94c6077788f50d647d6fc22531ddabab 100644 (file)
@@ -73,10 +73,10 @@ class opsi extends gosaSupportDaemon
   
   public function enabled()
   {
-    return(TRUE);
-    return(tests::is_mac($this->target));
+    return(!empty($this->target));
   }
 
+
   /******************
     Opsi handling 
    ******************/