* finish task #6593.

This commit is contained in:
wangyidong
2019-11-26 10:10:24 +08:00
parent f55e28a6fd
commit c76de78022
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ class webhookModel extends model
* @access public
* @return array
*/
public function getBindUsers($webhookID, $users = array())
public function getBoundUsers($webhookID, $users = array())
{
return $this->dao->select('*')->from(TABLE_OAUTH)->where('providerType')->eq('webhook')
->andWhere('providerID')->eq($webhookID)
@@ -492,7 +492,7 @@ class webhookModel extends model
if(!empty($object->mailto)) $toList .= ',' . $object->mailto;
if(empty($toList)) return false;
$openIdList = $this->getBindUsers($webhookID, $toList);
$openIdList = $this->getBoundUsers($webhookID, $toList);
$openIdList = join(',', $openIdList);
return $openIdList;
}