]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Tidying up getUser calls to profiles and some events
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 9 Sep 2013 19:35:16 +0000 (21:35 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 9 Sep 2013 21:03:34 +0000 (23:03 +0200)
commit747fe9d59bc03413be3d02d9ba1fadf460ba4758
treee07c85f19e7907ace344a38e46be6921847eb28b
parentc5bf6cb05e1d0a5b6fd9b7988362396e6f8ec2be
Tidying up getUser calls to profiles and some events

getUser calls are much more strict, and one place where this was found was
in the (un)subscribe start/end event handlers, which resulted in making the
Subscription class a bit stricter, regarding ::start and ::cancel at least.
Several minor fixes in many files were made due to this.

This does NOT touch the Foreign_link function, which should also have a more
strict getUser call. That is a future project.
20 files changed:
EVENTS.txt
actions/foaf.php
classes/Notice.php
classes/Profile.php
classes/Subscription.php
classes/User.php
lib/activityobject.php
lib/apiaction.php
lib/apiauth.php
lib/command.php
lib/nosuchuserexception.php [new file with mode: 0644]
lib/subs.php
plugins/Activity/ActivityPlugin.php
plugins/Blacklist/BlacklistPlugin.php
plugins/Blog/classes/Blog_entry.php
plugins/Gravatar/GravatarPlugin.php
plugins/OMB/OMBPlugin.php
plugins/OStatus/OStatusPlugin.php
plugins/OStatus/actions/ostatussub.php
plugins/SubscriptionThrottle/SubscriptionThrottlePlugin.php