Merge pull request #15843 from totten/master-simplehead
[civicrm-core.git] / CRM / Contact / Page / View / Useradd.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 */
16
17 /**
18 * Dummy page for details of Email.
19 */
20 class CRM_Contact_Page_View_Useradd extends CRM_Core_Page {
21
22 /**
23 * Run the page.
24 *
25 * This method is called after the page is created.
26 */
27 public function run() {
28 $controller = new CRM_Core_Controller_Simple('CRM_Contact_Form_Task_Useradd',
29 ts('Add User'),
30 CRM_Core_Action::ADD
31 );
32 $controller->setEmbedded(TRUE);
33
34 $controller->process();
35 $controller->run();
36
37 return parent::run();
38 }
39
40 }