capabilities.php 424 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright (c) 2013 Tom Needham <tom@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. namespace OCA\Encryption;
  9. class Capabilities {
  10. public static function getCapabilities() {
  11. return new \OC_OCS_Result(array(
  12. 'capabilities' => array(
  13. 'files' => array(
  14. 'encryption' => true,
  15. ),
  16. ),
  17. ));
  18. }
  19. }