From f1c5df1fdf83838c5bad882d1eea490d265e1ec1 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 11 Feb 2020 16:16:20 +0800 Subject: [PATCH] * finish task #6879. --- module/message/model.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/module/message/model.php b/module/message/model.php index d465273d35..a5cfdd6c89 100644 --- a/module/message/model.php +++ b/module/message/model.php @@ -84,13 +84,6 @@ class messageModel extends model if(isset($messageSetting['webhook'])) { $actions = $messageSetting['webhook']['setting']; - if($this->app->isFlow) - { - $rawModule = $this->app->rawModule; - $rawMethod = $this->app->rawMethod; - $actions[$rawModule][] = $rawMethod; - } - if(isset($actions[$objectType]) and in_array($actionType, $actions[$objectType])) { $this->loadModel('webhook')->send($objectType, $objectID, $actionType, $actionID, $actor);