mirror of
https://github.com/mistergibson/gxg-server.git
synced 2026-08-15 02:15:59 -07:00
Testing 5
This commit is contained in:
parent
404c356113
commit
be8aca4ec7
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue