]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Revert "Fixed direct messaging: AjaxWebChannel is now using Action's methods."
authorEvan Prodromou <evan@controlyourself.ca>
Wed, 4 Feb 2009 12:33:10 +0000 (07:33 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Wed, 4 Feb 2009 12:33:10 +0000 (07:33 -0500)
commit15b96f78ab9c294e6e20ff2411662793dae1e2d9
tree2e956af9840336710f6e5c006d1eaa59dea625e6
parent92c6034b258a117c6b01816c3ed60a1e71a43215
Revert "Fixed direct messaging: AjaxWebChannel is now using Action's methods."

This reverts commit 0f2c43bd040437b3e40c706d7c3f4ba163e94a71.

Making Channel a subclass of Action for no other reason than to let
the AjaxWebChannel do some output is the really, really wrong way to
do this. A Channel is not an Action.

I'll change AjaxWebChannel so it takes an Action as a constructor
paramater and uses that Action for its output. We do this for most
Widget subclasses and it makes sense here, too.
classes/Channel.php