[pLog-svn] r7162 - plugins/branches/lifetype-1.2/secretblog

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Oct 29 18:46:18 EDT 2011


Author: jondaley
Date: 2011-10-29 18:46:18 -0400 (Sat, 29 Oct 2011)
New Revision: 7162

Modified:
   plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php
Log:
only register the filter on the user side

Modified: plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php
===================================================================
--- plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php	2011-10-27 15:56:19 UTC (rev 7161)
+++ plugins/branches/lifetype-1.2/secretblog/pluginsecretblog.class.php	2011-10-29 22:46:18 UTC (rev 7162)
@@ -12,11 +12,8 @@
 			
 			$this->id = "secretblog";
 			$this->author = "The LifeType Project";
-            $this->version = "20111026";
+            $this->version = "20111029";
 			
-			// we only need to register a filter
-            $this->registerFilter( "SecretBlogFilter" );
-
             if( $this->getSource() == "admin" ) {
                     // register our own actions
                     // register our action and menu entry
@@ -30,6 +27,10 @@
                 $this->addMenuEntry( "/menu/controlCenter/manageSecurityPlugins", "pluginSecretBlogSettings", "admin.php?op=pluginSecretBlogSettings", "", true, false );
 
             }
+            else{
+                    // we only need to register a filter
+                $this->registerFilter( "SecretBlogFilter" );
+            }
 		}
 
             /**



More information about the pLog-svn mailing list