capabilities.php 450 B

12345678910111213141516171819202122232425
  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\Files;
  9. class Capabilities {
  10. public static function getCapabilities() {
  11. return new \OC_OCS_Result(array(
  12. 'capabilities' => array(
  13. 'files' => array(
  14. 'bigfilechunking' => true,
  15. 'undelete' => true,
  16. ),
  17. ),
  18. ));
  19. }
  20. }