[various] Rename forum to group

- Drop support for forumdirectory
- Add support for groupdirectory
This commit is contained in:
Hypolite Petovan 2023-06-03 15:57:29 -04:00 committed by heluecht
parent aa0f74832a
commit 49d308c44b
51 changed files with 1636 additions and 85 deletions

View file

@ -350,7 +350,7 @@ function statusnet_post_hook(array &$b)
}
// Dont't post if the post doesn't belong to us.
// This is a check for forum postings
// This is a check for group postings
$self = DBA::selectFirst('contact', ['id'], ['uid' => $b['uid'], 'self' => true]);
if ($b['contact-id'] != $self['id']) {
return;