projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1ef045
)
Angular - Always load CiviMail modules if component is enabled
author
colemanw
<coleman@civicrm.org>
Wed, 18 Oct 2023 20:35:54 +0000
(16:35 -0400)
committer
colemanw
<coleman@civicrm.org>
Wed, 18 Oct 2023 20:35:54 +0000
(16:35 -0400)
CRM/Mailing/Info.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/Info.php
b/CRM/Mailing/Info.php
index bffbd7ca798ef4b1dbb25b0dd92b8ffeb615c621..2eec29a4382ec93af4c858eccfb99df4a00b4963 100644
(file)
--- a/
CRM/Mailing/Info.php
+++ b/
CRM/Mailing/Info.php
@@
-137,14
+137,6
@@
class CRM_Mailing_Info extends CRM_Core_Component_Info {
* @see CRM_Utils_Hook::angularModules
*/
public function getAngularModules() {
- // load angular files only if valid permissions are granted to the user
- if (!CRM_Core_Permission::check('access CiviMail')
- && !CRM_Core_Permission::check('create mailings')
- && !CRM_Core_Permission::check('schedule mailings')
- && !CRM_Core_Permission::check('approve mailings')
- ) {
- return [];
- }
global $civicrm_root;
$result = [];