r9924 - apps/modules/trunk/test/tests
[email protected] Fri, 18 Sep 2009 15:03:53 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090918130353.CFDFB3D0E3@mia> |
Author: hannes
Date: 2009-09-18 15:03:53 +0200 (Fri, 18 Sep 2009)
New Revision: 9924
Modified:
apps/modules/trunk/test/tests/HopObjectGeneric.js
Log:
Simplify cleanup
Details at http://dev.helma.org/trac/helma/changeset/9924
Modified: apps/modules/trunk/test/tests/HopObjectGeneric.js
===================================================================
--- apps/modules/trunk/test/tests/HopObjectGeneric.js 2009-09-18 11:58:28 UTC (rev 9923)
+++ apps/modules/trunk/test/tests/HopObjectGeneric.js 2009-09-18 13:03:53 UTC (rev 9924)
@@ -41,10 +41,7 @@
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();
}