[pLog-svn] r1017 - in plugins/trunk/contentfilter/class: action security

mark at devel.plogworld.net mark at devel.plogworld.net
Wed Feb 9 07:10:07 GMT 2005


Author: mark
Date: 2005-02-09 07:10:07 +0000 (Wed, 09 Feb 2005)
New Revision: 1017

Modified:
   plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php
   plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php
   plugins/trunk/contentfilter/class/security/contentfilter.class.php
Log:
Fix typo errors.

Modified: plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php
===================================================================
--- plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php	2005-02-09 05:48:35 UTC (rev 1016)
+++ plugins/trunk/contentfilter/class/action/adminupdateblogcontentfilterconfigaction.class.php	2005-02-09 07:10:07 UTC (rev 1017)
@@ -1,7 +1,6 @@
 <?php
 
 	include_once( PLOG_CLASS_PATH."class/action/admin/blogowneradminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/contentfilter/class/view/adminblogfilteredcontentview.class.php" );
 		
 	/**

Modified: plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php
===================================================================
--- plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php	2005-02-09 05:48:35 UTC (rev 1016)
+++ plugins/trunk/contentfilter/class/action/adminupdatecontentfilterconfigaction.class.php	2005-02-09 07:10:07 UTC (rev 1017)
@@ -1,7 +1,6 @@
 <?php
 
 	include_once( PLOG_CLASS_PATH."class/action/admin/adminaction.class.php" );
-	include_once( PLOG_CLASS_PATH."class/view/admin/adminplugintemplatedview.class.php" );
 	include_once( PLOG_CLASS_PATH."plugins/contentfilter/class/view/adminfilteredcontentview.class.php" );
 		
 	/**

Modified: plugins/trunk/contentfilter/class/security/contentfilter.class.php
===================================================================
--- plugins/trunk/contentfilter/class/security/contentfilter.class.php	2005-02-09 05:48:35 UTC (rev 1016)
+++ plugins/trunk/contentfilter/class/security/contentfilter.class.php	2005-02-09 07:10:07 UTC (rev 1017)
@@ -31,14 +31,13 @@
 
         	// check if this section has been enabled or disabled
             $blogSettings = $blogInfo->getSettings();
-		    $pluginEnabled = $blogSettings->getValue( "plugin_dropcase_enabled" );
+		    $pluginEnabled = $blogSettings->getValue( "plugin_contentfilter_enabled" );
             if( !$pluginEnabled) {
             	// if not, nothing to do here...
                 //_debug("ip address filter not enabled! quitting...<br/>");
             	return new PipelineResult();
             }
 
-
             // we only have to filter the contents if the user is posting a comment
             // so there's no point in doing anything else if that's not the case
             if( $request->getValue( "op" ) != "AddComment" ) {




More information about the pLog-svn mailing list