From: hickert Date: Wed, 31 Mar 2010 08:53:53 +0000 (+0000) Subject: Added filter for applcications X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b0f3fc7cb47da3c409e79ebb21091748b1b6d7c3;p=gosa.git Added filter for applcications git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17427 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/applications/class_filterAPPLICATIONS.inc b/gosa-plugins/goto/admin/applications/class_filterAPPLICATIONS.inc new file mode 100644 index 000000000..0f6c75b23 --- /dev/null +++ b/gosa-plugins/goto/admin/applications/class_filterAPPLICATIONS.inc @@ -0,0 +1,20 @@ + $entry){ + if(isset($entry['FAIstate']) && preg_match("/freeze/i", $entry['FAIstate'][0])){ + $res[$id]['objectClass'][] = 'FAKE_OC_freeze'; + }else{ + $res[$id]['objectClass'][] = 'FAKE_OC_branch'; + } + } + return($res); + } +} + +?>