[pLog-svn] r4808 - plugins/branches/lifetype-1.1/hostblock/class/view

Jon Daley plogworld at jon.limedaley.com
Wed Feb 21 20:48:22 EST 2007


 	Is this right?  It looks like one line is doing global access, and 
the other is doing blog specific.

On Wed, 21 Feb 2007, oscar at devel.lifetype.net wrote:

> Author: oscar
> Date: 2007-02-21 17:22:27 -0500 (Wed, 21 Feb 2007)
> New Revision: 4808
>
> Modified:
>   plugins/branches/lifetype-1.1/hostblock/class/view/adminblockedhostsview.class.php
> Log:
> Fixed one of the issues reported by Elena in mantis (http://bugs.lifetype.net/view.php?id=1182), now blog-specific blocked hosts do not appear in the "globally blocked hosts" screen.
>
>
> Modified: plugins/branches/lifetype-1.1/hostblock/class/view/adminblockedhostsview.class.php
> ===================================================================
> --- plugins/branches/lifetype-1.1/hostblock/class/view/adminblockedhostsview.class.php	2007-02-21 21:55:22 UTC (rev 4807)
> +++ plugins/branches/lifetype-1.1/hostblock/class/view/adminblockedhostsview.class.php	2007-02-21 22:22:27 UTC (rev 4808)
> @@ -21,8 +21,8 @@
>
>         	// get the content that has been filtered by this blog
>             $blockedHosts = new BlockedHosts();
> -            $hostsBlockedFromPosting = $blockedHosts->getBlogBlacklist( GLOBALLY_BLOCKED_HOST, BLOCK_COMMENT_POSTING );
> -            $hostsBlocked = $blockedHosts->getBlogBlacklist( GLOBALLY_BLOCKED_HOST, BLOCK_ACCESS );
> +            $hostsBlockedFromPosting = $blockedHosts->getGlobalBlacklist( BLOCK_COMMENT_POSTING );
> +            $hostsBlocked = $blockedHosts->getBlogBlacklist( BLOCK_ACCESS );
>
>             $blogBlockedHosts = array_merge( $hostsBlockedFromPosting, $hostsBlocked );
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>

-- 
Jon Daley
http://jon.limedaley.com/

All generalizations are bad.
-- R. H. Grenier


More information about the pLog-svn mailing list