]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Make it impossible to block (and thus unsubscribe from your
authorZach Copley <zach@status.net>
Fri, 4 Dec 2009 01:06:58 +0000 (17:06 -0800)
committerZach Copley <zach@status.net>
Fri, 4 Dec 2009 01:06:58 +0000 (17:06 -0800)
commitaef4cc0a59276938f0f0aec4d67374f578f2117a
tree46b429f939a680926fc01fe2defed6e037985ec9
parentc89b10ffe4adb1df724b6a7c5c31b42c7dd3376b
Make it impossible to block (and thus unsubscribe from your
self-subscription) via the API.  Additionally, make it impossible
to block yourself or unsubscribe from yourself, period.

I also made User use the subs.php helper function for unsubscribing
during a block.

Hopefully, these changes will get rid of the problem of people
accidentally deleting their self-subscriptions once and for all
(knock on wood).
actions/apiblockcreate.php
classes/User.php
lib/subs.php