apply changes from https://github.com/owncloud/apps/pull/854
remove stupid debug output