diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2017-11-07 16:18:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-07 16:18:40 +0100 |
commit | f55732a18facfe52167e346a8aa40cfc66707fa0 (patch) | |
tree | 50d8e2fc1d9b222d55d88d4aa7bc76ba971fe50c /lib | |
parent | 8566f8b8ee421ae1549e988c92c494deaf2829c2 (diff) | |
parent | 5445b1ff172d5186530ab0352ac35cb028127312 (diff) | |
download | nextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.tar.gz nextcloud-server-f55732a18facfe52167e346a8aa40cfc66707fa0.zip |
Merge pull request #7075 from nextcloud/remove-unused-variables
Remove unused variables
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 bd44d0a7c2e..ba635d57627 100644 --- a/lib/private/legacy/files.php +++ b/lib/private/legacy/files.php @@ -340,7 +340,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; } |