php8.1 compatibility
This commit is contained in:
parent
d454983557
commit
b911cea65d
2
init.php
2
init.php
|
@ -26,7 +26,7 @@ class Discord_Webhook extends Plugin {
|
|||
return array("needs_curl" => true);
|
||||
}
|
||||
|
||||
function hook_filter_triggered($feed, $owner_uid, $article, $matched_filters, $matched_rules, &$article_filters) {
|
||||
function hook_filter_triggered($feed_id, $owner_uid, $article, $matched_filters, $matched_rules, $article_filters) {
|
||||
# Don't apply to articles that have been deleted by a previous filter
|
||||
$delete = false;
|
||||
foreach($article_filters as $action_key => $action) {
|
||||
|
|
Loading…
Reference in a new issue