[pLog-svn] r2493 - plog/trunk/class/action
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Mon Sep 19 07:05:31 GMT 2005
Author: oscar
Date: 2005-09-19 07:05:30 +0000 (Mon, 19 Sep 2005)
New Revision: 2493
Modified:
plog/trunk/class/action/viewarticletrackbacksaction.class.php
Log:
reorganized the includes a bit
Modified: plog/trunk/class/action/viewarticletrackbacksaction.class.php
===================================================================
--- plog/trunk/class/action/viewarticletrackbacksaction.class.php 2005-09-19 07:04:48 UTC (rev 2492)
+++ plog/trunk/class/action/viewarticletrackbacksaction.class.php 2005-09-19 07:05:30 UTC (rev 2493)
@@ -1,12 +1,6 @@
<?php
include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
define( "VIEW_TRACKBACKS_TEMPLATE", "posttrackbacks" );
@@ -47,7 +41,9 @@
}
function perform()
- {
+ {
+ include_once( PLOG_CLASS_PATH."class/view/blogview.class.php" );
+
$this->_view = new BlogView( $this->_blogInfo,
VIEW_TRACKBACKS_TEMPLATE,
SMARTY_VIEW_CACHE_CHECK,
@@ -62,6 +58,12 @@
if( $this->_view->isCached()) {
return true;
}
+
+ include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
+ include_once( PLOG_CLASS_PATH."class/dao/trackbacks.class.php" );
+ include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+ include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
+ include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
// ---
// if we got a category name or a user name instead of a category
More information about the pLog-svn
mailing list