* finish task #6879.

This commit is contained in:
wangyidong
2020-02-11 16:16:20 +08:00
parent d433403d31
commit f1c5df1fdf
-7
View File
@@ -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);