Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions CRM/Chat/BAO/ChatQuestion.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,5 @@

class CRM_Chat_BAO_ChatQuestion extends CRM_Chat_DAO_ChatQuestion {

/**
* Create a new ChatQuestion based on array-data
*
* @param array $params key-value pairs
* @return CRM_Chat_DAO_ChatQuestion|NULL
*
public static function create($params) {
$className = 'CRM_Chat_DAO_ChatQuestion';
$entityName = 'ChatQuestion';
$hook = empty($params['id']) ? 'create' : 'edit';

CRM_Utils_Hook::pre($hook, $entityName, CRM_Utils_Array::value('id', $params), $params);
$instance = new $className();
$instance->copyValues($params);
$instance->save();
CRM_Utils_Hook::post($hook, $entityName, $instance->id, $instance);

return $instance;
} */

}