diff src/luan/modules/host/Hosting.luan @ 1408:5b8f76e26ab7

remove old backups
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 24 Sep 2019 15:02:33 -0600
parents 8d7a39ca2c0c
children db57d562c4bd
line wrap: on
line diff
--- a/src/luan/modules/host/Hosting.luan	Fri Sep 20 17:00:30 2019 -0600
+++ b/src/luan/modules/host/Hosting.luan	Tue Sep 24 15:02:33 2019 -0600
@@ -23,7 +23,6 @@
 	my_dir.is_directory() or error("'"..dir.."' is not a directory")
 	local host = Rpc.remote(domain)
 	local tree = host.get(domain,password)
-	host.in_backup_read_lock()
 	if tree == nil then
 		print("creating "..domain)
 		tree = host.create(domain,password)
@@ -67,7 +66,6 @@
 
 function Hosting.delete(domain,password)
 	local host = Rpc.remote(domain)
-	host.in_backup_read_lock()
 	host.delete(domain,password)
 	host.close()
 end
@@ -81,7 +79,6 @@
 
 function Hosting.change_domain(old_domain,new_domain,password)
 	local host = Rpc.remote(new_domain)
-	host.in_backup_read_lock()
 	local rtn = host.change_domain(old_domain,new_domain,password)
 	host.close()
 	return rtn
@@ -89,7 +86,6 @@
 
 function Hosting.change_password(domain,old_password,new_password)
 	local host = Rpc.remote(domain)
-	host.in_backup_read_lock()
 	local rtn = host.change_password(domain,old_password,new_password)
 	host.close()
 	return rtn