Page MenuHomeIn-Portal Phabricator
  • Changed Files
  • branches/5.2.x/core/kernel/utility/email.php

INP-1581 - Load email sender/recipient from live table

Authored by alex on Aug 17 2016, 3:58 AM.


Test Plan
  • in IDE:
    1. open /core/units/users/users_event_handler.php file for editing
    2. go to OnAfterCopyToLive method declaration
    3. add $this->Application->emailUser('USER.PSWDC', $event->getEventParam('id')); code before method ending
    4. save changes
  • in Admin Console
    1. go to User ManagementUsers section
    2. create new user
    3. remember ID of created user
    4. go to ToolsQuery Database section
    5. type this SQL SELECT PwResetConfirm FROM {your_table_prefix}_Users WHERE PortalUserId = {your_user_id}
    6. press Run SQL button on toolbar
    7. confirm, that displayed value isn't empty

Diff Detail

rINP In-Portal
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 595.Aug 17 2016, 3:58 AM
alex retitled this revision from to INP-1581 - Load email sender/recipient from live table.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1581.
erik accepted this revision.Aug 23 2016, 4:17 AM
erik edited edge metadata.
This revision is now accepted and ready to land.Aug 23 2016, 4:17 AM
This revision was automatically updated to reflect the committed changes.