[pLog-svn] r5518 - plugins/branches/lifetype-1.2/recommended
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Sun Jun 10 16:41:15 EDT 2007
Author: jondaley
Date: 2007-06-10 16:41:15 -0400 (Sun, 10 Jun 2007)
New Revision: 5518
Modified:
plugins/branches/lifetype-1.2/recommended/pluginrecommended.class.php
Log:
moved include inside function
Modified: plugins/branches/lifetype-1.2/recommended/pluginrecommended.class.php
===================================================================
--- plugins/branches/lifetype-1.2/recommended/pluginrecommended.class.php 2007-06-10 20:40:01 UTC (rev 5517)
+++ plugins/branches/lifetype-1.2/recommended/pluginrecommended.class.php 2007-06-10 20:41:15 UTC (rev 5518)
@@ -1,7 +1,6 @@
<?php
lt_include( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
-lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
/**
* Plugin that offers features to returns the top read posts object of current blog
@@ -55,6 +54,8 @@
function getPosts(){
if(!$this->recommendedPosts)
return Array();
+
+ lt_include( PLOG_CLASS_PATH."class/dao/articles.class.php" );
$articles = new Articles();
$blogId = $this->blogInfo->getId();
More information about the pLog-svn
mailing list