[prev in list] [next in list] [prev in thread] [next in thread]
List: gallery-checkins
Subject: [Gallery-checkins] CVS: gallery2/modules/core ItemAddAlbum.inc,1.8,1.9 ItemAddChildren.inc,1.11,1.12
From: Bharat Mediratta <bharat () users ! sourceforge ! net>
Date: 2003-03-24 5:51:36
[Download RAW message or body]
Update of /cvsroot/gallery/gallery2/modules/core
In directory sc8-pr-cvs1:/tmp/cvs-serv1999/modules/core
Modified Files:
ItemAddAlbum.inc ItemAddChildren.inc
Log Message:
GalleryItem::create() now uses the active user id implicitly (so this affects all subclasses also)
Index: ItemAddAlbum.inc
===================================================================
RCS file: /cvsroot/gallery/gallery2/modules/core/ItemAddAlbum.inc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ItemAddAlbum.inc 12 Mar 2003 11:20:07 -0000 1.8
+++ ItemAddAlbum.inc 24 Mar 2003 05:51:34 -0000 1.9
@@ -89,9 +89,7 @@
null);
}
- $ret = $instance->create($itemId,
- $form['pathComponent'],
- $gallery->getActiveUserId());
+ $ret = $instance->create($itemId, $form['pathComponent']);
if ($ret->isError()) {
if ($ret->getErrorCode() & ERROR_COLLISION) {
GalleryUtilities::putRequestVariable('form.error.pathComponent.collision', 1);
Index: ItemAddChildren.inc
===================================================================
RCS file: /cvsroot/gallery/gallery2/modules/core/ItemAddChildren.inc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ItemAddChildren.inc 12 Mar 2003 11:20:08 -0000 1.11
+++ ItemAddChildren.inc 24 Mar 2003 05:51:34 -0000 1.12
@@ -106,7 +106,6 @@
$ret = $newItem->create($item->getId(),
$file['tmp_name'],
- $gallery->getActiveUserId(),
$mimeType,
basename($file['name']));
if ($ret->isError()) {
-------------------------------------------------------
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