]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
needLogin renamed checkLogin and made a property
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Sep 2013 09:58:47 +0000 (11:58 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 2 Sep 2013 09:58:47 +0000 (11:58 +0200)
commitf0e967fefd48daa677bfa3bdac656373d1fc2e79
treec7e09137a3c35973fa9a1eef47eb8c5303e284ba
parente5e3aeb4e67cece90f04ae89c8e2714af4817e56
needLogin renamed checkLogin and made a property

Action extended classes now can set 'needLogin' as a protected property,
which is defaulted to 'false'. However, FormAction defaults this to 'true'
because most of the form actions will require a current login to be valid.

NewgroupAction, NewmessageAction, NewnoticeAction are all affected by this
commit and in the future we will migrate each potential formaction to the
proper class parent tree. :)
actions/newgroup.php
actions/newmessage.php
actions/newnotice.php
lib/action.php
lib/formaction.php