X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FMethods%2FDeleteSite.py;h=8c7feb3f2915112163c123ea55738b1987fe0014;hb=e58db379e1197b73d3b6f014d5afd51ce852b43c;hp=b2adfdbc06bf5dba4441d948fbaee216e04effe2;hpb=713e74813ad3dee0958294b3af731a8098eb61b1;p=plcapi.git diff --git a/PLC/Methods/DeleteSite.py b/PLC/Methods/DeleteSite.py index b2adfdb..8c7feb3 100644 --- a/PLC/Methods/DeleteSite.py +++ b/PLC/Methods/DeleteSite.py @@ -8,7 +8,6 @@ from PLC.Persons import Person, Persons from PLC.Nodes import Node, Nodes from PLC.PCUs import PCU, PCUs from PLC.Auth import Auth -from PLC.SFA import SFA class DeleteSite(Method): """ @@ -40,10 +39,6 @@ class DeleteSite(Method): if site['peer_id'] is not None: raise PLCInvalidArgument, "Not a local site" - # sync with sfa db - sfa = SFA(self.api) - sfa.delete_record(site, 'site') - site.delete() # Logging variables