Skip to content

Commit 323bed9

Browse files
committed
update wordings
1 parent 3a4e0a9 commit 323bed9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/local/step/sftp_delete_file_trait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function execute($input = null) {
8484
$this->delete_from_remote($sftp, $sourcepath);
8585
return $input;
8686
}
87-
throw new \moodle_exception('connector_sftp:source_not_remote', 'tool_dataflows');
87+
throw new \moodle_exception('connector_sftp:delete_missing_remote', 'tool_dataflows');
8888
} catch (\Throwable $e) {
8989
$this->enginestep->log->error($e->getMessage());
9090
if (isset($sftp)) {

classes/local/step/sftp_rename_file_trait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function execute($input = null) {
8484
$this->rename_from_remote($sftp, $sourcepath, $targetpath);
8585
return $input;
8686
}
87-
throw new \moodle_exception('connector_sftp:source_not_remote', 'tool_dataflows');
87+
throw new \moodle_exception('connector_sftp:rename_missing_remote', 'tool_dataflows');
8888
} catch (\Throwable $e) {
8989
$this->enginestep->log->error($e->getMessage());
9090
if (isset($sftp)) {

0 commit comments

Comments
 (0)