diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:55:24 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:55:24 +0100 |
commit | e2974f1133693c022585d3758df142e0f385cb3e (patch) | |
tree | f8d1110d68580b8307e78e1844964b2df486d071 /lib/private/Files | |
parent | 3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff) | |
download | nextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.tar.gz nextcloud-server-e2974f1133693c022585d3758df142e0f385cb3e.zip |
Simplify return statement
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Files')
-rw-r--r-- | lib/private/Files/Storage/Wrapper/Encryption.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index e40a4830953..b65db054055 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -351,9 +351,7 @@ class Encryption extends Wrapper { // need to stream copy file by file in case we copy between a encrypted // and a unencrypted storage $this->unlink($path2); - $result = $this->copyFromStorage($this, $path1, $path2); - - return $result; + return $this->copyFromStorage($this, $path1, $path2); } /** |