From 031ee469426461c07a2713515c5f521e8a5152c2 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 6 Oct 2008 10:28:02 +0000 Subject: [PATCH] Updated opsi enabled check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12607 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/opsi/admin/opsi/class_opsi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ******************/ -- 2.30.2