Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user