]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Move rights check to profile and add right for new notices
authorEvan Prodromou <evan@status.net>
Mon, 16 Nov 2009 18:03:59 +0000 (19:03 +0100)
committerEvan Prodromou <evan@status.net>
Mon, 16 Nov 2009 18:03:59 +0000 (19:03 +0100)
commitd2145a5b7f3a95dcfa90edb4bcd5e5b3bf66c116
treeef31dc1aeb9e111fb0ca3e0b44c347e4203561ac
parent02cc7af1b6a6f8c460550ad0f884bf5e7a18d176
Move rights check to profile and add right for new notices

Added a right for new notices, realized that the hasRight() method
should be on the profile, and moved it.

Makes this a less atomic commit but that's the way it goes sometimes.
classes/Notice.php
classes/Profile.php
classes/User.php
lib/right.php