diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 14:09:01 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-02-05 14:09:01 +0100 |
commit | b89ddcfe416bc44f139cf07d8eda178ce851a53f (patch) | |
tree | f97c4c804f7faceb1d7a49e1c403adf5e9e1e744 /lib/public/appframework | |
parent | fdc64e370c2c4a1b3d5865ced7b52693d405650f (diff) | |
download | nextcloud-server-b89ddcfe416bc44f139cf07d8eda178ce851a53f.tar.gz nextcloud-server-b89ddcfe416bc44f139cf07d8eda178ce851a53f.zip |
fix license email
Diffstat (limited to 'lib/public/appframework')
-rw-r--r-- | lib/public/appframework/apicontroller.php | 10 | ||||
-rw-r--r-- | lib/public/appframework/ocscontroller.php | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/public/appframework/apicontroller.php b/lib/public/appframework/apicontroller.php index 5272f3ed529..b62e352c319 100644 --- a/lib/public/appframework/apicontroller.php +++ b/lib/public/appframework/apicontroller.php @@ -3,7 +3,7 @@ * ownCloud - App Framework * * @author Bernhard Posselt - * @copyright 2012 Bernhard Posselt nukeawhale@gmail.com + * @copyright 2012 Bernhard Posselt <dev@bernhard-posselt.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE @@ -44,17 +44,17 @@ abstract class ApiController extends Controller { * constructor of the controller * @param string $appName the name of the app * @param IRequest $request an instance of the request - * @param string $corsMethods: comma seperated string of HTTP verbs which + * @param string $corsMethods: comma seperated string of HTTP verbs which * should be allowed for websites or webapps when calling your API, defaults to * 'PUT, POST, GET, DELETE, PATCH' * @param string $corsAllowedHeaders: comma seperated string of HTTP headers - * which should be allowed for websites or webapps when calling your API, + * which should be allowed for websites or webapps when calling your API, * defaults to 'Authorization, Content-Type, Accept' * @param int $corsMaxAge number in seconds how long a preflighted OPTIONS * request should be cached, defaults to 1728000 seconds */ - public function __construct($appName, - IRequest $request, + public function __construct($appName, + IRequest $request, $corsMethods='PUT, POST, GET, DELETE, PATCH', $corsAllowedHeaders='Authorization, Content-Type, Accept', $corsMaxAge=1728000){ diff --git a/lib/public/appframework/ocscontroller.php b/lib/public/appframework/ocscontroller.php index a912c125fd0..3e9907666bb 100644 --- a/lib/public/appframework/ocscontroller.php +++ b/lib/public/appframework/ocscontroller.php @@ -3,7 +3,7 @@ * ownCloud - App Framework * * @author Bernhard Posselt - * @copyright 2015 Bernhard Posselt nukeawhale@gmail.com + * @copyright 2015 Bernhard Posselt <dev@bernhard-posselt.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE |