Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forum Statements #38

Merged
merged 13 commits into from
Oct 25, 2024
Merged

Forum Statements #38

merged 13 commits into from
Oct 25, 2024

Conversation

cliffcaseyyet
Copy link
Member

@cliffcaseyyet cliffcaseyyet commented Oct 22, 2024

Create, Edit, Delete:

  • Discussions
  • Posts

Subscribed, Unsubscribed:

  • Forums
  • Discussions

@cliffcaseyyet cliffcaseyyet changed the title [WIP] Forums redo Forum Statements Oct 24, 2024
@cliffcaseyyet cliffcaseyyet marked this pull request as ready for review October 24, 2024 19:51
@@ -38,7 +38,7 @@
function debug_event(array $config, \stdClass $event) {
//debug
$repo = $config['repo'];
if (isset($event->objecttable) && isset($event->objectid) && $event->action !== 'deleted') {
if (isset($event->objecttable) && isset($event->objectid) && ($event->action !== 'deleted' || $event->crud !== 'd')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this is exactly how to do it, only the data you need

Copy link
Member

@milt milt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glorious!

@cliffcaseyyet cliffcaseyyet merged commit 552fd43 into master Oct 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants