Commit 2a7eaaa8 authored by mattwire's avatar mattwire

checkEditInboundEmailsPermissions should be a static function

parent 9abdba68
......@@ -2882,7 +2882,7 @@ INNER JOIN civicrm_option_group grp ON (grp.id = option_group_id AND grp.name =
*
* @return bool
*/
public function checkEditInboundEmailsPermissions() {
public static function checkEditInboundEmailsPermissions() {
if (CRM_Core_Permission::check('edit inbound email basic information')
|| CRM_Core_Permission::check('edit inbound email basic information and content')
) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment