From be8aca4ec73cf3a9aab95522df37feb7d7cc3f75 Mon Sep 17 00:00:00 2001 From: "G. Gibson" Date: Sat, 23 Apr 2022 10:04:38 -0700 Subject: [PATCH] Testing 5 --- Services/core.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Services/core.rb b/Services/core.rb index 662c3d5..0afbffd 100755 --- a/Services/core.rb +++ b/Services/core.rb @@ -871,7 +871,7 @@ module GxG end # def rename(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_name="") - result = {:result => false} + result = nil if self.busy?(the_path) result = {:result => false, :error => "Busy", :error_code => :busy} end @@ -887,7 +887,7 @@ module GxG end # def copy(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="") - result = {:result => false} + result = nil if self.busy?(the_path) result = {:result => false, :error => "Busy", :error_code => :busy} end @@ -903,7 +903,7 @@ module GxG end # def move(the_path="", credential=:"00000000-0000-4000-0000-000000000000", new_path="") - result = {:result => false} + result = nil if self.busy?(the_path) result = {:result => false, :error => "Busy", :error_code => :busy} end @@ -919,7 +919,7 @@ module GxG end # def destroy(the_path="", credential=:"00000000-0000-4000-0000-000000000000") - result = {:result => false} + result = nil if self.busy?(the_path) result = {:result => false, :error => "Busy", :error_code => :busy} end