From 97b4903db463d952ac5a1216162b4ab7f2f01786 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be>
Date: Thu, 18 Apr 2019 12:36:15 +0200
Subject: [PATCH] :sparkles: feat(fusiondirectory-setup) Add abstract class
 support to --update-cache

issue #5984
---
 contrib/bin/fusiondirectory-setup | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/bin/fusiondirectory-setup b/contrib/bin/fusiondirectory-setup
index 61b5db319..662950be8 100644
--- a/contrib/bin/fusiondirectory-setup
+++ b/contrib/bin/fusiondirectory-setup
@@ -337,9 +337,9 @@ sub get_classes {
             chomp $line;
 
             # process for lines beginning with "class", and extracting the 2nd word (the class name)
-            if ( $line =~ /^class\s*(\w+).*/ ) {
+            if ( $line =~ /^(abstract )?class\s*(\w+).*/ ) {
               # adding the values (class name and file path) to the hash
-              $classes_hash_result{$1} = $file;
+              $classes_hash_result{$2} = $file;
             }
 
             # process for lines beginning with "interface", and extracting the 2nd word (the interface name)
-- 
GitLab