BACKENDS: Rename and simplify AbstractFSNode::create()

This commit is contained in:
Cameron Cawley 2019-07-01 17:33:36 +01:00 committed by Filippos Karapetis
parent 8666e9564f
commit 66ef50cfeb
26 changed files with 70 additions and 122 deletions

View file

@ -100,7 +100,7 @@ void CreateDirectoryHandler::handle(Client &client) {
}
} else {
// create the <directory_name> in <path>
if (!node->create(true)) {
if (!node->createDirectory()) {
handleError(client, _("Failed to create the directory!"));
return;
}