initialize array
remove unused code
Merge pull request #9093 from owncloud/remove_unused_code

remove unused code