[pLog-svn] r2514 - plog/branches/plog-1.0.2/class/dao
jondaley at devel.plogworld.net
jondaley at devel.plogworld.net
Thu Sep 22 03:18:17 GMT 2005
Author: jondaley
Date: 2005-09-22 03:18:16 +0000 (Thu, 22 Sep 2005)
New Revision: 2514
Modified:
plog/branches/plog-1.0.2/class/dao/users.class.php
Log:
What do you all think about this? Whenever we are looking up blog by user, we don't return inactive blogs? This fixes the userList page on the summary that shows disabled blogs. I don't think it breaks any time where you would want to see disabled blogs (on the site-wide admin stuff)
Modified: plog/branches/plog-1.0.2/class/dao/users.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/dao/users.class.php 2005-09-22 02:36:16 UTC (rev 2513)
+++ plog/branches/plog-1.0.2/class/dao/users.class.php 2005-09-22 03:18:16 UTC (rev 2514)
@@ -166,7 +166,7 @@
if( $extraInfo ) {
// load this data if explicitely required!
- $userBlogs = $this->getUsersBlogs($userInfo->getId());
+ $userBlogs = $this->getUsersBlogs($userInfo->getId(), BLOG_STATUS_ACTIVE);
$userInfo->setBlogs($userBlogs);
}
More information about the pLog-svn
mailing list