summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Helper.php
Commit message (Collapse)AuthorAgeFilesLines
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-141-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+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>
* Remove unused importsChristoph Wurst2020-03-251-3/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-3/+1
| | | | 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>
* Remove unused static sharing helper codeRoeland Jago Douma2018-02-271-170/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Simplify return statementMorris Jobke2018-02-131-3/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-261-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix comparisons in the sharing appJoas Schilling2017-08-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove config change hook that deletes link shares (#26612)Vincent Petry2016-12-191-1/+0
| | | | | | | | | Seems broken. But also if link shares are not allowed, the link shares will continue to exist but will be denied. A future cleanup could be done through a background job. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-4/+4
|
* Move SetupFromToken to ShareManagerRoeland Jago Douma2016-07-181-62/+26
|
* Make getShareFolder use given view instead of static FSVincent Petry2016-06-171-4/+8
|
* Fix for #23066 (#24689)Torben Dannhauer2016-05-311-2/+2
|
* Update license headersLukas Reschke2016-05-261-2/+2
|
* Move lib/ to PSR-4Joas Schilling2016-05-251-0/+310