--- a/server/checkintegrity.py Thu Jul 21 11:16:32 2011 +0200
+++ b/server/checkintegrity.py Thu Jul 21 14:20:45 2011 +0200
@@ -286,7 +286,7 @@
entity.__regid__, entity.eid, role, rschema)
if fix:
#if entity.cw_describe()['source']['uri'] == 'system': XXX
- entity.delete()
+ entity.cw_delete()
notify_fixed(fix)
@@ -306,7 +306,7 @@
print >> sys.stderr, '%s #%s is missing mandatory attribute %s' % (
entity.__regid__, entity.eid, rschema)
if fix:
- entity.delete()
+ entity.cw_delete()
notify_fixed(fix)