Even though it's really only a few lines of code, I think this app might help other users of ownCloud and I'd like to have it published to the store as "experimental" app. I therefore checked https://doc.owncloud.org/server/8.1/developer_manual/general/publishing.html, but don't know how to get this app to a rating above 20/100 (is this even possible without having the app in the store?).
Can someone help me on this one? Of course, I'd also appreciate any improvements to my code. In fact I'm no php-coder, so there might be any type of errors even in only those few lines of code.
Unfortunately this isn't the only issue I found with my first OC-app - even though it looked like it was working, in fact it wasn't - due to an issue with the caching of user-groups: https://github.com/owncloud/core/issues/21835
Nevertheless, the folder-issue you mentioned has been solved, and I hope my pull request will be integrated, then my app will be functional (as it is on my manually patched system).