From b0f3fc7cb47da3c409e79ebb21091748b1b6d7c3 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 31 Mar 2010 08:53:53 +0000 Subject: [PATCH] Added filter for applcications git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17427 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../applications/class_filterAPPLICATIONS.inc | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 gosa-plugins/goto/admin/applications/class_filterAPPLICATIONS.inc 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); + } +} + +?> -- 2.30.2