summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Storage/FtpConnection.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-18 12:49:34 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-18 17:21:47 +0200
commita5ea677370df4479cc309f4c359599590c24f278 (patch)
treecd861667f467b31ff58ecf39613507432eb83d35 /apps/files_external/lib/Lib/Storage/FtpConnection.php
parent732badf552c91733192e87d6ceb2848b4b75d439 (diff)
downloadnextcloud-server-a5ea677370df4479cc309f4c359599590c24f278.tar.gz
nextcloud-server-a5ea677370df4479cc309f4c359599590c24f278.zip
Rename file1 and file2 to source and target in Storage abstraction
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_external/lib/Lib/Storage/FtpConnection.php')
-rw-r--r--apps/files_external/lib/Lib/Storage/FtpConnection.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/lib/Lib/Storage/FtpConnection.php b/apps/files_external/lib/Lib/Storage/FtpConnection.php
index bc4be18e42e..c6f9a5c91b0 100644
--- a/apps/files_external/lib/Lib/Storage/FtpConnection.php
+++ b/apps/files_external/lib/Lib/Storage/FtpConnection.php
@@ -85,8 +85,8 @@ class FtpConnection {
return @ftp_rmdir($this->connection, $path);
}
- public function rename(string $path1, string $path2) {
- return @ftp_rename($this->connection, $path1, $path2);
+ public function rename(string $source, string $target) {
+ return @ftp_rename($this->connection, $source, $target);
}
public function mdtm(string $path) {