disable gallery sharing if encryption is enabled until this is solved: https://github.com/owncloud/apps/issues/1186
disable gallery sharing if encryption app is enabled