Skip to content

Commit f7d376c

Browse files
committed
fix bugs
1 parent c45fda1 commit f7d376c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Services/CommandsService.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function updateAccount($dsId, $username, $password, $dir, $user, &$exitCo
6767

6868
$this->configureGdaemon($ftpCommand->dedicatedServer);
6969

70-
$command = $this->replaceShortCodes($ftpCommand->create_command,
70+
$command = $this->replaceShortCodes($ftpCommand->update_command,
7171
[
7272
'username' => $username,
7373
'password' => $password,
@@ -98,7 +98,7 @@ public function deleteAccount($dsId, $username, &$exitCode)
9898

9999
$this->configureGdaemon($ftpCommand->dedicatedServer);
100100

101-
$command = $this->replaceShortCodes($ftpCommand->create_command,
101+
$command = $this->replaceShortCodes($ftpCommand->delete_command,
102102
[
103103
'username' => $username,
104104
'node_tools_path' => $ftpCommand->dedicatedServer->work_path . "/tools",

module.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "FTP",
33
"alias": "ftp",
44
"description": "FTP Accounts Management",
5-
"version": "1.4.1",
5+
"version": "1.5.1",
66
"gameap-required": ">=3.0.0-beta4",
77
"keywords": ["ftp"],
88
"active": 1,

0 commit comments

Comments
 (0)