[pLog-svn] r1728 - plog/branches/plog-1.1-ben/class/view
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Apr 5 11:03:33 GMT 2005
Author: ork
Date: 2005-04-05 11:03:33 +0000 (Tue, 05 Apr 2005)
New Revision: 1728
Modified:
plog/branches/plog-1.1-ben/class/view/defaultview.class.php
Log:
the best way to optimize code is by reducing code :)
thanks oscar
Modified: plog/branches/plog-1.1-ben/class/view/defaultview.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/view/defaultview.class.php 2005-04-05 11:02:41 UTC (rev 1727)
+++ plog/branches/plog-1.1-ben/class/view/defaultview.class.php 2005-04-05 11:03:33 UTC (rev 1728)
@@ -33,14 +33,12 @@
*/
function _addShowMoreLink()
{
- include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
-
$posts = $this->_params->getValue( 'posts' );
$locale = $this->_blogInfo->getLocale();
//$textFilter = new TextFilter();
$modifPosts = Array();
- $rg = RequestGenerator::getRequestGenerator( $this->_blogInfo );
+ $rg = $this->_blogInfo->getBlogRequestGenerator()
foreach( $posts as $post ) {
if( $post->hasExtendedText()) {
$result = $post->getIntroText();
More information about the pLog-svn
mailing list