From 906a1ac9ab07d84282c21b1b0fc3e51f2a698726 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 29 Jan 2001 16:32:42 +0000 Subject: [PATCH] getAllUsers will return an array of strings (user names) instead of actual user objects, making the function more scalable --- src/helma/framework/core/HopExtension.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/helma/framework/core/HopExtension.java b/src/helma/framework/core/HopExtension.java index 63c0643c..52f9069c 100644 --- a/src/helma/framework/core/HopExtension.java +++ b/src/helma/framework/core/HopExtension.java @@ -671,9 +671,8 @@ public class HopExtension { ArrayPrototype theArray = new ArrayPrototype(ap, this.evaluator); int i=0; for (Enumeration e=users.properties (); e.hasMoreElements (); ) { - IProperty prop = (IProperty) e.nextElement (); - if (!"prototype".equals (prop.getName ()) && prop.getType () == IProperty.NODE) - theArray.putProperty (i++, reval.getNodeWrapper (prop.getNodeValue ())); + String propname = (String) e.nextElement (); + theArray.putProperty (i++, new ESString (propname)); } return theArray; }