[pLog-svn] r1726 - plog/branches/plog-1.1-ben/class/view

Oscar Renalias phunkphorce at gmail.com
Tue Apr 5 11:05:10 GMT 2005


you can get rid of the whole include and the call to RequestGenerator...

Just replace this:

$rg = RequestGenerator::getRequestGenerator( $this->_blogInfo );

with this:

$rg = $this->_blogInfo->getBlogRequestGenerator()

(and remove the include)

Oscar

On Apr 5, 2005 1:10 PM, ork at devel.plogworld.net <ork at devel.plogworld.net> wrote:
> Author: ork
> Date: 2005-04-05 10:10:33 +0000 (Tue, 05 Apr 2005)
> New Revision: 1726
> 
> Modified:
>    plog/branches/plog-1.1-ben/class/view/defaultview.class.php
> Log:
> missing include
> 
> 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 00:01:39 UTC (rev 1725)
> +++ plog/branches/plog-1.1-ben/class/view/defaultview.class.php 2005-04-05 10:10:33 UTC (rev 1726)
> @@ -33,6 +33,8 @@
>           */
>          function _addShowMoreLink()
>          {
> +            include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
> +
>                 $posts = $this->_params->getValue( 'posts' );
>              $locale = $this->_blogInfo->getLocale();
> 
> @@ -82,4 +84,4 @@
>              parent::render();
>          }
>      }
> -?>
> \ No newline at end of file
> +?>
> 
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list