Author: basos
Date: 2010-09-10 10:45:13 +0200 (Fri, 10 Sep 2010)
New Revision: 30873
Modified:
plugins/sfSimplePagePlugin/trunk/modules/sfSimplePage/lib/BasesfSimplePageActions.class.php
Log:
Mod make action prototype more strict
Modified:
plugins/sfSimplePagePlugin/trunk/modules/sfSimplePage/lib/BasesfSimplePageActions.class.php
===================================================================
---
plugins/sfSimplePagePlugin/trunk/modules/sfSimplePage/lib/BasesfSimplePageActions.class.php
2010-09-10 02:03:52 UTC (rev 30872)
+++
plugins/sfSimplePagePlugin/trunk/modules/sfSimplePage/lib/BasesfSimplePageActions.class.php
2010-09-10 08:45:13 UTC (rev 30873)
@@ -10,10 +10,10 @@
*/
abstract class BasesfSimplePageActions extends sfActions
{
- public function executeIndex()
+ public function executeIndex($request)
{
// set template_path from path_info
- $pathinfo = $this->getRequest()->getPathInfo() ;
+ $pathinfo = $request->getPathInfo() ;
$route_prefix =
sfConfig::get("app_sf_simple_page_plugin_route_prefix","static") ;
//remove trailing slashes
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.