[pLog-svn] r504 - plog/trunk/class/gallery/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Wed Dec 15 17:17:00 GMT 2004
Author: oscar
Date: 2004-12-15 17:16:59 +0000 (Wed, 15 Dec 2004)
New Revision: 504
Modified:
plog/trunk/class/gallery/dao/galleryresources.class.php
Log:
changed the signature of the method GalleryResources::getNumUserResources, since the last two parameters were not needed anyway!
Modified: plog/trunk/class/gallery/dao/galleryresources.class.php
===================================================================
--- plog/trunk/class/gallery/dao/galleryresources.class.php 2004-12-15 14:34:43 UTC (rev 503)
+++ plog/trunk/class/gallery/dao/galleryresources.class.php 2004-12-15 17:16:59 UTC (rev 504)
@@ -223,12 +223,10 @@
* @param ownerId
* @param albumId
* @param resourceType
- * @param page
- * @param itemsPerPage
* @see getUserResources
* @return the total number of items
*/
- function getNumUserResources( $ownerId, $albumId = GALLERY_NO_ALBUM, $resourceType = GALLEY_RESOURCE_ANY, $page = DEFAULT_PAGING_ENABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
+ function getNumUserResources( $ownerId, $albumId = GALLERY_NO_ALBUM, $resourceType = GALLEY_RESOURCE_ANY )
{
$prefix = $this->getPrefix();
$table = "{$prefix}gallery_resources";
More information about the pLog-svn
mailing list