[pLog-svn] r6744 - in plugins/branches/lifetype-1.2/googleanalytics: . class/action

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Wed Nov 19 18:40:53 EST 2008


Author: jondaley
Date: 2008-11-19 18:40:53 -0500 (Wed, 19 Nov 2008)
New Revision: 6744

Modified:
   plugins/branches/lifetype-1.2/googleanalytics/class/action/plugingoogleanalyticsupdateconfigaction.class.php
   plugins/branches/lifetype-1.2/googleanalytics/plugingoogleanalytics.class.php
Log:
fixed copy-paste errors.  I wonder how this plugin ever worked without a constructor?  I guess at best it didn't check permissions, seems like some of that other code should have been needed

Modified: plugins/branches/lifetype-1.2/googleanalytics/class/action/plugingoogleanalyticsupdateconfigaction.class.php
===================================================================
--- plugins/branches/lifetype-1.2/googleanalytics/class/action/plugingoogleanalyticsupdateconfigaction.class.php	2008-11-19 15:42:20 UTC (rev 6743)
+++ plugins/branches/lifetype-1.2/googleanalytics/class/action/plugingoogleanalyticsupdateconfigaction.class.php	2008-11-19 23:40:53 UTC (rev 6744)
@@ -11,7 +11,7 @@
 		var $_pluginEnabled;
 		var $_uacct;
 		
-		function PluginStickyPostsUpdateConfigAction( $actionInfo, $request )
+		function PluginGoogleAnalyticsUpdateConfigAction( $actionInfo, $request )
 		{
 			$this->AdminAction( $actionInfo, $request );
 		}
@@ -53,7 +53,7 @@
 			// save the blogs settings
 			$blogs = new Blogs();
             if( !$blogs->updateBlog( $this->_blogInfo )) {
-                $this->_view = new PluginStickyPostsConfigView( $this->_blogInfo );
+                $this->_view = new PluginGoogleAnalyticsConfigView( $this->_blogInfo );
                 $this->_view->setErrorMessage( $this->_locale->tr("error_updating_settings"));
                 $this->setCommonData();
 

Modified: plugins/branches/lifetype-1.2/googleanalytics/plugingoogleanalytics.class.php
===================================================================
--- plugins/branches/lifetype-1.2/googleanalytics/plugingoogleanalytics.class.php	2008-11-19 15:42:20 UTC (rev 6743)
+++ plugins/branches/lifetype-1.2/googleanalytics/plugingoogleanalytics.class.php	2008-11-19 23:40:53 UTC (rev 6744)
@@ -17,7 +17,7 @@
             $this->id = "googleanalytics";
             $this->author = "lss";
             $this->desc = "This plugin offers features to inset google analytics javascript codes in tempalte header";
-            $this->version = "20071224";
+            $this->version = "20081119";
   
             $this->locales = Array( "en_UK" , "zh_TW" , "zh_CN", "es_ES", "fr_FR" );
             



More information about the pLog-svn mailing list