diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-04-18 16:17:15 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-04-18 16:35:19 +0200 |
commit | ccf47f40aac167f25b7537b3819b99d6c59bc92e (patch) | |
tree | 3d6529319d53f269241c00d5ef5a15dc57aa91f8 /lib/private/appframework | |
parent | 8cb0d97b1099561d7f9a059f3ba8105a2c719aab (diff) | |
download | nextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.tar.gz nextcloud-server-ccf47f40aac167f25b7537b3819b99d6c59bc92e.zip |
Remove unused variables
* should make scrutinizer a lot more happy
* reduces maybe memory footprint
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/http/request.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index 002c1151adc..eb2a118a0f6 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -238,7 +238,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { case 'params': case 'urlParams': if(in_array($name, array('put', 'patch'))) { - return $this->getContent($name); + return $this->getContent(); } else { return isset($this->items[$name]) ? $this->items[$name] @@ -252,7 +252,6 @@ class Request implements \ArrayAccess, \Countable, IRequest { return isset($this[$name]) ? $this[$name] : null; - break; } } |