backend.php 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /**
  3. * @copyright Copyright (c) 2016, ownCloud, Inc.
  4. *
  5. * @author Arthur Schiwon <blizzz@arthur-schiwon.de>
  6. * @author Bart Visscher <bartv@thisnet.nl>
  7. * @author Jakob Sack <mail@jakobsack.de>
  8. * @author Joas Schilling <coding@schilljs.com>
  9. * @author Morris Jobke <hey@morrisjobke.de>
  10. * @author Robin Appelman <robin@icewind.nl>
  11. * @author Roeland Jago Douma <roeland@famdouma.nl>
  12. *
  13. * @license AGPL-3.0
  14. *
  15. * This code is free software: you can redistribute it and/or modify
  16. * it under the terms of the GNU Affero General Public License, version 3,
  17. * as published by the Free Software Foundation.
  18. *
  19. * This program is distributed in the hope that it will be useful,
  20. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  22. * GNU Affero General Public License for more details.
  23. *
  24. * You should have received a copy of the GNU Affero General Public License, version 3,
  25. * along with this program. If not, see <http://www.gnu.org/licenses/>
  26. *
  27. */
  28. /**
  29. * error code for functions not provided by the group backend
  30. * @deprecated Use \OC_Group_Backend::NOT_IMPLEMENTED instead
  31. */
  32. define('OC_GROUP_BACKEND_NOT_IMPLEMENTED', -501);
  33. /**
  34. * actions that user backends can define
  35. */
  36. /** @deprecated Use \OC_Group_Backend::CREATE_GROUP instead */
  37. define('OC_GROUP_BACKEND_CREATE_GROUP', 0x00000001);
  38. /** @deprecated Use \OC_Group_Backend::DELETE_GROUP instead */
  39. define('OC_GROUP_BACKEND_DELETE_GROUP', 0x00000010);
  40. /** @deprecated Use \OC_Group_Backend::ADD_TO_GROUP instead */
  41. define('OC_GROUP_BACKEND_ADD_TO_GROUP', 0x00000100);
  42. /** @deprecated Use \OC_Group_Backend::REMOVE_FROM_GOUP instead */
  43. define('OC_GROUP_BACKEND_REMOVE_FROM_GOUP', 0x00001000);
  44. /** @deprecated Obsolete */
  45. define('OC_GROUP_BACKEND_GET_DISPLAYNAME', 0x00010000); //OBSOLETE
  46. /** @deprecated Use \OC_Group_Backend::COUNT_USERS instead */
  47. define('OC_GROUP_BACKEND_COUNT_USERS', 0x00100000);
  48. /**
  49. * Abstract base class for user management
  50. * @deprecated Since 9.1.0 use \OC\Group\Backend
  51. */
  52. abstract class OC_Group_Backend extends \OC\Group\Backend {
  53. }