[pLog-svn] r5731 - plugins/branches/lifetype-1.2/tagcloud
Jon Daley
plogworld at jon.limedaley.com
Thu Jul 26 07:26:42 EDT 2007
There must be something I still am not understanding. Plugins
shouldn't have to call register manually, should they?
On Thu, 26 Jul 2007, pwestbro at devel.lifetype.net wrote:
> Author: pwestbro
> Date: 2007-07-26 00:26:25 -0400 (Thu, 26 Jul 2007)
> New Revision: 5731
>
> Modified:
> plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
> Log:
> Fixed a problem were tagclouds were not being generated
>
>
> Modified: plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php
> ===================================================================
> --- plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-07-25 22:01:03 UTC (rev 5730)
> +++ plugins/branches/lifetype-1.2/tagcloud/plugintagcloud.class.php 2007-07-26 04:26:25 UTC (rev 5731)
> @@ -28,7 +28,7 @@
> lt_include( PLOG_CLASS_PATH."class/database/db.class.php" );
> $this->db =& Db::getDb();
> $this->id = "tagcloud";
> - $this->version = "20070511";
> + $this->version = "20070725";
>
> $this->locales = Array("en_UK");
>
> @@ -94,7 +94,7 @@
> function process( $eventType, $params )
> {
> $validEvent = false;
> -
> +
> // Looking for EVENT_POST_POST_ADD, EVENT_POST_POST_UPDATE, EVENT_POST_POST_DELETE
> // or EVENT_POST_ADMIN_PURGE_TEMP_FOLDER (if defined)
> if ( $eventType == EVENT_POST_POST_ADD ||
> @@ -110,12 +110,15 @@
> {
> return true;
> }
> +
> + // Load all of the settings for this blog
> + $this->register();
>
> if(!$this->isEnabled())
> {
> return true;
> }
> -
> +
> // Update the Blogtime png
> $this->createCloud();
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
By swallowing evil words unsaid, no one has ever harmed his stomach.
-- Winston Churchill
More information about the pLog-svn
mailing list