| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
class CRM_ACL_Form_WordPress_Permissions extends CRM_Core_Form {
/**
- * Build the form object
+ * Build the form object.
*
* @return void
*/
'type' => 'next',
'name' => ts('Save'),
'spacing' => '',
- 'isDefault' => FALSE
+ 'isDefault' => FALSE,
),
)
);
}
/**
- * Process the form submission
+ * Process the form submission.
*
* @return void
*/
CRM_Core_Session::setStatus(
ts('The %1 role was assigned one or more permissions that may prove dangerous for users of that role to have. Please reconsider assigning %2 to them.', array(
1 => $wp_roles->role_names[$role],
- 2 => implode(', ', $warningPermissionNames)
+ 2 => implode(', ', $warningPermissionNames),
)),
ts('Unsafe Permission Settings')
);
return $perms_array;
}
+
}