comparison core/src/luan/modules/host/Hosting.luan @ 619:cc3a68033179

fix hosting delete logging
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 03 Jan 2016 02:03:54 -0700
parents abc3198c86dd
children c5baaa525897
comparison
equal deleted inserted replaced
618:5e495e4e560b 619:cc3a68033179
42 local name = here_child.name() 42 local name = here_child.name()
43 process(there,there.children[name],here_child) 43 process(there,there.children[name],here_child)
44 there.children[name] = nil 44 there.children[name] = nil
45 end 45 end
46 for _, there_child in pairs(there.children) do 46 for _, there_child in pairs(there.children) do
47 print("deleting "..there_child.name) 47 if host.delete_unused(domain,password,there_child.path)==true then -- remove ==true later
48 host.delete_unused(domain,password,there_child.path) 48 print("deleted "..there_child.name)
49 end
49 end 50 end
50 else 51 else
51 error "not file or dir" 52 error "not file or dir"
52 end 53 end
53 end 54 end