gnu-social/plugins/UserFlag
Brion Vibber b93244395f Fix for broken profile flag admin UI: delete stray flag entries when users are deleted so broken entries don't litter the lookups.
* added ProfileDeleteRelated event to match UserDeleteRelated, to allow plugins to add extra related tables on profile deletion
* UserFlagPlugin: deleting flags when target profile is deleted
* UserFlagPlugin: deleting flags when flagging user is deleted
* UserFlagPlugin: fix for autoloader -- class names are case-insensitive. We may get lowercase class names coming in at times, such as when creating DB objects programatically from a table name.

Note that any already-existing bogus entries need to be removed from the database:
select * from user_flag_profile where (select id from profile where id=profile_id) is null;
select * from user_flag_profile where (select id from user where id=user_id) is null;
2010-01-06 11:10:33 -08:00
..
adminprofileflag.php PHPCS-clean adminprofileflags.php 2009-12-28 08:45:21 -08:00
clearflag.php phpcs-clean clearflag.php 2009-12-28 09:06:38 -08:00
clearflagform.php Add tools to clear flags 2009-12-28 07:58:33 -08:00
flagprofile.php move flag creation to a method of data object 2009-12-28 10:58:49 -08:00
flagprofileform.php Using the right form class name 2009-11-20 03:06:12 +00:00
icon_flag.gif Renamed icon file 2009-11-26 12:57:52 +00:00
User_flag_profile.php move flag creation to a method of data object 2009-12-28 10:58:49 -08:00
userflag.css Moved moderation styles out of UserFlag and put it into core. Updated 2009-11-26 20:38:06 +00:00
UserFlagPlugin.php Fix for broken profile flag admin UI: delete stray flag entries when users are deleted so broken entries don't litter the lookups. 2010-01-06 11:10:33 -08:00