]> source.dussan.org Git - nextcloud-server.git/commit
Move Share20OCS to ShareAPIController
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 21 Oct 2016 18:25:07 +0000 (20:25 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Mon, 24 Oct 2016 07:52:34 +0000 (09:52 +0200)
commitea07bbc562d797efab3e9c4e068689850cf3de3e
treeffdf0c651c3a3c69aff9af55581eed25ae75e059
parent598c145430d813c05b3a980345462c45f801d733
Move Share20OCS to ShareAPIController

It was already a controller just still residing in its old location.

* Moved ShareAPIController to user plain userID instead of user object
* Moved Share20OCS to ShareAPIController
* Removed initisation of class from Application.php and leave it to the
AppFramework
* Fixed tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/files_sharing/lib/API/Share20OCS.php [deleted file]
apps/files_sharing/lib/AppInfo/Application.php
apps/files_sharing/lib/Controller/ShareAPIController.php [new file with mode: 0644]
apps/files_sharing/lib/Middleware/OCSShareAPIMiddleware.php
apps/files_sharing/tests/API/Share20OCSTest.php [deleted file]
apps/files_sharing/tests/ApiTest.php
apps/files_sharing/tests/Controller/ShareAPIControllerTest.php [new file with mode: 0644]