Skip to content
Snippets Groups Projects
Commit c571b6e8 authored by Satish's avatar Satish
Browse files

Create option is showing in SMS notifier list page

parent 7bcbf8ad
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -33,7 +33,7 @@ class SMSNotifier_Module_Model extends Vtiger_Module_Model { ...@@ -33,7 +33,7 @@ class SMSNotifier_Module_Model extends Vtiger_Module_Model {
* @return <boolean> * @return <boolean>
*/ */
public function isPermitted($actionName) { public function isPermitted($actionName) {
if ($actionName === 'EditView') { if ($actionName === 'EditView' || $actionName === 'CreateView') {
return false; return false;
} }
return Users_Privileges_Model::isPermitted($this->getName(), $actionName); return Users_Privileges_Model::isPermitted($this->getName(), $actionName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment