At least the class xml should be excluded:

--- gosa/debian/fix-constructors.sh     2016-06-02 23:29:51.160689208 +0200
+++ fix-constructors.sh 2016-06-02 23:32:20.422050137 +0200
@@ -15,7 +15,9 @@
   sed -i "s/function ${class} *(/function __construct(/" ${split[1]}
 
   find * -type f | egrep "\.php|\.inc" | while read file; do
-    sed -r -e "s/${class}::${class}/${class}::__construct/" -i "$file"
+    if [ "${class}" != "xml" ]; then
+      sed -r -e "s/${class}::${class}/${class}::__construct/" -i "$file"
+    fi
   done
 
 done

Please test and check if maybe other (unused by Debian Edu) plugins need 
additional excludes.

Wolfgang

Attachment: signature.asc
Description: Digital signature

Reply via email to