From: hickert Date: Mon, 6 Oct 2008 10:28:02 +0000 (+0000) Subject: Updated opsi enabled check. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=031ee469426461c07a2713515c5f521e8a5152c2;p=gosa.git Updated opsi enabled check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsi/class_opsi.inc b/gosa-plugins/opsi/admin/opsi/class_opsi.inc index 6a8f9ec9d..4dac33af9 100644 --- a/gosa-plugins/opsi/admin/opsi/class_opsi.inc +++ b/gosa-plugins/opsi/admin/opsi/class_opsi.inc @@ -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 ******************/