[pLog-svn] r2514 - plog/branches/plog-1.0.2/class/dao

Oscar Renalias oscar at renalias.net
Thu Sep 22 05:56:31 GMT 2005


I agree.

Oscar

On 22 Sep 2005, at 06:18, jondaley at devel.plogworld.net wrote:

> 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);
>              }
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
>




More information about the pLog-svn mailing list