[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gallery-checkins
Subject:    [Gallery-checkins] CVS: gallery2/modules/core/test/TestCase GetChildren.class,1.6,1.7
From:       Bharat Mediratta <bharat () users ! sourceforge ! net>
Date:       2003-03-24 5:17:16
[Download RAW message or body]

Update of /cvsroot/gallery/gallery2/modules/core/test/TestCase
In directory sc8-pr-cvs1:/tmp/cvs-serv26863a/modules/core/test/TestCase

Modified Files:
	GetChildren.class 
Log Message:
Change GalleryItemHelper API calls to no longer require the user id.  We
hard code the active user id instead.  This simplifies the UI and removes
an ability that we never used.


Index: GetChildren.class
===================================================================
RCS file: /cvsroot/gallery/gallery2/modules/core/test/TestCase/GetChildren.class,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- GetChildren.class	23 Feb 2003 23:30:21 -0000	1.6
+++ GetChildren.class	24 Mar 2003 05:17:13 -0000	1.7
@@ -40,8 +40,7 @@
 
 	for ($i = 0; $i < $iterations; $i++) {
 	    /* Get the child count */
-	    list ($ret, $count) =
-		GalleryItemHelper::getChildCounts(array($root->getId()), $userId);
+	    list ($ret, $count) = GalleryItemHelper::getChildCounts(array($root->getId()));
 	    if ($ret->isError()) {
 		return $ret->wrap(__FILE__, __LINE__);
 	    }



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
__[ g a l l e r y - c h e c k i n s ]_________________________

[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic