[pLog-svn] r6237 - plog/trunk/class/action/admin
Jon Daley
plogworld at jon.limedaley.com
Sat Mar 15 19:27:05 EDT 2008
I don't know anything about the 2.0 code, but I have seen a number
of commits like this. Would it be appropriate to have this function moved
to the base class, or make a subclass called adminajaxaction or something
that contains common code like this?
On Sat, 15 Mar 2008, mark at devel.lifetype.net wrote:
> Author: mark
> Date: 2008-03-15 07:07:27 -0400 (Sat, 15 Mar 2008)
> New Revision: 6237
>
> Modified:
> plog/trunk/class/action/admin/adminnewpermissionaction.class.php
> Log:
> Add a missing performAjax
>
> Modified: plog/trunk/class/action/admin/adminnewpermissionaction.class.php
> ===================================================================
> --- plog/trunk/class/action/admin/adminnewpermissionaction.class.php 2008-03-15 11:04:42 UTC (rev 6236)
> +++ plog/trunk/class/action/admin/adminnewpermissionaction.class.php 2008-03-15 11:07:27 UTC (rev 6237)
> @@ -23,5 +23,10 @@
> $this->_view = new AdminTemplatedView( $this->_blogInfo, "newpermission" );
> $this->setCommonData();
> }
> +
> + function performAjax()
> + {
> + return( $this->perform() );
> + }
> }
> ?>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
--
Jon Daley
http://jon.limedaley.com/
It's a question of whether we're going to go forward
into the future, or past into the back.
-- Dan Quayle
More information about the pLog-svn
mailing list