This is unrelated to this ticket. See https://github.com/owncloud/core/pull/6457/files#diff-3307a5e68ca195131f2880206a520907L164