*/
/**
- * This implements the profile page for all contacts. It uses a selector
- * object to do the actual dispay. The fields displayd are controlled by
+ * This implements the profile page for all contacts.
+ *
+ * It uses a selector object to do the actual display. The fields displayed are controlled by
* the admin
*/
class CRM_Mailing_Page_Event extends CRM_Core_Page {
* Run this page (figure out the action needed and perform it).
*/
public function run() {
- $selector = &new CRM_Mailing_Selector_Event(
+ $selector = new CRM_Mailing_Selector_Event(
CRM_Utils_Request::retrieve('event', 'String', $this),
CRM_Utils_Request::retrieve('distinct', 'Boolean', $this),
CRM_Utils_Request::retrieve('mid', 'Positive', $this),
$mailing_id = CRM_Utils_Request::retrieve('mid', 'Positive', $this);
- // assign backurl
$context = CRM_Utils_Request::retrieve('context', 'String', $this);
if ($context == 'activitySelector') {