owncloud/core — pull request #8382 by schiesbn (2014-04-28 12:54:58+00:00)
Title: fix shouldEncrypt() method and improved decryptAll() unit tests

fix shouldEncrypt() method and improve decryptAll() unit tests.

\OCP\App::isEnabled() will return false if the app is not enabled, even if it was loaded temporarily, e.g. for the decryptAll() method. Now we will just check if the encryption session was initialized successfully.

This is only a regression in master, releases are not affected.