summaryrefslogtreecommitdiffstats
path: root/lib/connector/sabre/quotaplugin.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2012-11-05 01:34:11 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2012-11-05 01:34:11 -0800
commit135680e50bf760d55a1bcaaaa02f959bde396c52 (patch)
tree1dd3b7e8fead643c1fd9a107b5443dac55125700 /lib/connector/sabre/quotaplugin.php
parentf0be09a23cf2ace0940850b9f321ce54fc38b4ea (diff)
parent02ec677e3c665da98056496270c22078c4b7aac0 (diff)
downloadnextcloud-server-135680e50bf760d55a1bcaaaa02f959bde396c52.tar.gz
nextcloud-server-135680e50bf760d55a1bcaaaa02f959bde396c52.zip
Merge pull request #242 from fmms/checkstyle05
Checkstyle fixes
Diffstat (limited to 'lib/connector/sabre/quotaplugin.php')
-rw-r--r--lib/connector/sabre/quotaplugin.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/connector/sabre/quotaplugin.php b/lib/connector/sabre/quotaplugin.php
index 5b8ef941710..a56a65ad863 100644
--- a/lib/connector/sabre/quotaplugin.php
+++ b/lib/connector/sabre/quotaplugin.php
@@ -2,7 +2,7 @@
/**
* This plugin check user quota and deny creating files when they exceeds the quota.
- *
+ *
* @copyright Copyright (C) 2012 entreCables S.L. All rights reserved.
* @author Sergio Cambra
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
@@ -10,9 +10,9 @@
class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
/**
- * Reference to main server object
- *
- * @var Sabre_DAV_Server
+ * Reference to main server object
+ *
+ * @var Sabre_DAV_Server
*/
private $server;
@@ -23,8 +23,8 @@ class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
* addPlugin is called.
*
* This method should set up the requires event subscriptions.
- *
- * @param Sabre_DAV_Server $server
+ *
+ * @param Sabre_DAV_Server $server
* @return void
*/
public function initialize(Sabre_DAV_Server $server) {
@@ -37,10 +37,10 @@ class OC_Connector_Sabre_QuotaPlugin extends Sabre_DAV_ServerPlugin {
/**
* This method is called before any HTTP method and forces users to be authenticated
- *
+ *
* @param string $method
* @throws Sabre_DAV_Exception
- * @return bool
+ * @return bool
*/
public function checkQuota($uri, $data = null) {
$expected = $this->server->httpRequest->getHeader('X-Expected-Entity-Length');