diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:43:45 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-11-06 09:43:45 +0100 |
commit | 5445b1ff172d5186530ab0352ac35cb028127312 (patch) | |
tree | 86ef75039910b1f08eef7287ac4303871c852cbc /lib | |
parent | 576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff) | |
download | nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.tar.gz nextcloud-server-5445b1ff172d5186530ab0352ac35cb028127312.zip |
Remove unused variables
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/legacy/files.php | 2 | ||||
-rw-r--r-- | lib/public/AppFramework/Db/Mapper.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/files.php b/lib/private/legacy/files.php index 017691805c9..92dbf08bc60 100644 --- a/lib/private/legacy/files.php +++ b/lib/private/legacy/files.php @@ -338,7 +338,7 @@ class OC_Files { * * @param int $size file size in bytes * @param array $files override '.htaccess' and '.user.ini' locations - * @return bool false on failure, size on success + * @return bool|int false on failure, size on success */ public static function setUploadLimit($size, $files = []) { //don't allow user to break his config diff --git a/lib/public/AppFramework/Db/Mapper.php b/lib/public/AppFramework/Db/Mapper.php index 611791a4364..b008702ba54 100644 --- a/lib/public/AppFramework/Db/Mapper.php +++ b/lib/public/AppFramework/Db/Mapper.php @@ -244,7 +244,7 @@ abstract class Mapper { } } - $result = $query->execute(); + $query->execute(); return $query; } |