assign('recentlyViewed', FALSE); $destination = CRM_Utils_System::url('civicrm/admin/configtask', 'reset=1', FALSE, NULL, FALSE ); $destination = urlencode($destination); $this->assign('destination', $destination); CRM_Core_OptionValue::getValues(array('name' => 'from_email_address'), $optionValue); if (!empty($optionValue)) { list($id) = array_keys($optionValue); $this->assign('fromEmailId', $id); } $payPalProId = CRM_Core_DAO::getFieldValue( 'CRM_Financial_DAO_PaymentProcessorType', 'PayPal', 'id', 'name' ); if ($payPalProId) { $this->assign('payPalProId', $payPalProId); } return parent::run(); } }