From e68e058e6a97bcb239b34182211480563d110547 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 18 Sep 2009 13:03:53 +0000 Subject: [PATCH] Simplify cleanup --- test/tests/HopObjectGeneric.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/tests/HopObjectGeneric.js b/test/tests/HopObjectGeneric.js index 9a9a335f..4cd217ce 100644 --- a/test/tests/HopObjectGeneric.js +++ b/test/tests/HopObjectGeneric.js @@ -41,10 +41,7 @@ function testSize() { function cleanup() { var persons = org.generic.list(); for each (var person in persons) { - if (person.groupname) - person.get(0).remove(); - else - person.remove(); + person.remove(); } org.remove(); }