- if (CRM_Utils_Request::retrieve('action', 'String', $this) & CRM_Core_Action::REVERT) {
-
- $id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
- if (!$this->checkPermission($id, NULL)) {
- CRM_Core_Error::fatal(ts('You do not have permission to revert this template.'));
- }
-