Site.isNotificationEnabled () |
basic check if email notification is enabled for a site
|
Sourcecode in Site/objectFunctions.js:
1: function isNotificationEnabled() { 2: if (root.sys_allowEmails == 1 || root.sys_allowEmails == 2 && this.trusted) 3: return true; 4: return false; 5: } |