By reading this interesting discussion, I decided to get rid of all my
(mis)use of sfContext.
So, I searched it in my project, and surprisingly found many in
generated propel classes.
I investigated and discovered this in plugins/sfPropelPlugin/lib/
builder/SfPeerBuilder.php, line 232:

"        \$request = sfContext::getInstance()->getRequest();\n".

You can also see it online at
http://trac.symfony-project.org/browser/branches/1.2/lib/plugins/sfPropelPlugin/lib/builder/SfPeerBuilder.php#L232

I'm wondering why the $request variable is taken from context but then
never used.
A bug?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to