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

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Feb 21 17:22:27 EST 2007


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 );
 



More information about the pLog-svn mailing list