Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+9 -1
View File
@@ -677,6 +677,8 @@ abstract class Content extends ActiveRecord
$idColumn = static::$databaseColumnId;
Webhook::fire( str_replace( '\\', '', substr( get_called_class(), 3 ) ) . '_modaction', ['action' => $action, 'item' => $this->apiOutput()], $this->webhookFilters() );
/* These ones just need a property setting */
if ( in_array( $action, array( 'pin', 'unpin', 'feature', 'unfeature', 'lock', 'unlock' ) ) )
{
@@ -1248,7 +1250,13 @@ abstract class Content extends ActiveRecord
* @return void
*/
public function sendNotifications(): void
{
{
/* Check the bridge */
if ( ! Bridge::i()->sendNotifications( $this ) )
{
return;
}
/* Send quote and mention notifications */
$sentTo = $this->sendQuoteAndMentionNotifications();