* finish task #6879.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user