summaryrefslogtreecommitdiffstats
path: root/lib/public/Share.php
Commit message (Collapse)AuthorAgeFilesLines
* Update license headers for 19Christoph Wurst2020-04-291-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-0/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Deprecate legacy share code and cleanup some unused methodsMorris Jobke2019-04-181-4/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unused resolveReshare of old sharing codeMorris Jobke2018-03-161-10/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-6/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup unused methodsMorris Jobke2017-08-151-57/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6123 from nextcloud/cleanup-shareItemMorris Jobke2017-08-151-19/+0
|\ | | | | Cleanup usage of shareItem in internal code base
| * Cleanup usage of shareItem in internal code baseMorris Jobke2017-08-151-19/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #6121 from nextcloud/cleanup-registerBackendMorris Jobke2017-08-151-13/+0
|\ \ | | | | | | Use proper methods for registerBackend
| * | Use proper methods for registerBackendMorris Jobke2017-08-151-13/+0
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Use proper methods for checkPasswordProtectedShareMorris Jobke2017-08-151-11/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cleanup unused methodsMorris Jobke2017-08-151-162/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace wrong PHPDocsLukas Reschke2017-08-011-2/+2
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Adjust tests and DI for Share.phpLukas Reschke2016-11-021-1/+9
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix othersJoas Schilling2016-07-211-3/+4
|
* Update license headersLukas Reschke2016-05-261-1/+2
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-0/+401