Simplify cleanup

This commit is contained in:
hns 2009-09-18 13:03:53 +00:00
parent 9490b2e48c
commit e68e058e6a

View file

@ -41,9 +41,6 @@ function testSize() {
function cleanup() { function cleanup() {
var persons = org.generic.list(); var persons = org.generic.list();
for each (var person in persons) { for each (var person in persons) {
if (person.groupname)
person.get(0).remove();
else
person.remove(); person.remove();
} }
org.remove(); org.remove();