[Opensrf-commits] r1702 - trunk/src/libopensrf (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon May 18 09:50:15 EDT 2009


Author: erickson
Date: 2009-05-18 09:50:13 -0400 (Mon, 18 May 2009)
New Revision: 1702

Modified:
   trunk/src/libopensrf/osrf_application.c
Log:
no need to wrap each method description in an object container with class 'method'

Modified: trunk/src/libopensrf/osrf_application.c
===================================================================
--- trunk/src/libopensrf/osrf_application.c	2009-04-30 22:07:55 UTC (rev 1701)
+++ trunk/src/libopensrf/osrf_application.c	2009-05-18 13:50:13 UTC (rev 1702)
@@ -404,8 +404,6 @@
 			jsonNewNumberObject( (method->options & OSRF_METHOD_ATOMIC) ? 1 : 0 ));
 	jsonObjectSetKey(resp, "cachable",	
 			jsonNewNumberObject( (method->options & OSRF_METHOD_CACHABLE) ? 1 : 0 ));
-
-	jsonObjectSetClass(resp, "method");
 }
 
 /**



More information about the opensrf-commits mailing list