Unexpected output: Affected paths: relative - resubmit patch.
⚙ D208 INP-1544 - Delete expired session without using "Session" object
Page MenuHomeIn-Portal Phabricator

INP-1544 - Delete expired session without using "Session" object
ClosedPublic

Authored by alex on Mar 19 2016, 6:43 AM.

Details

Test Plan
NOTE: Prepend table prefix to tables in SQL queries listed below if needed.
  1. login to Admin Console in 2 different browsers (actions below needs to be taken in one of the browsers only)
  2. go to ConfigurationWebsiteScheduled Tasks section
  3. ensure, that only delete_expired_sessions scheduled task is enabled
  4. go to ToolsQuery Database section
  5. execute following SQL: UPDATE UserSessions SET LastAccessed = 0;
  6. remember record count in the UserSessions table
  7. switch to command line mode
  8. execute php tools/cron.php command in In-Portal folder
  9. confirm, that there is now only 1 session in UserSessions table

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 349
Build 349: arc lint + arc unit

Event Timeline

alex updated this revision to Diff 501.Mar 19 2016, 6:43 AM
alex retitled this revision from to INP-1544 - Delete expired session without using "Session" object.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1544.
glebs accepted this revision.Apr 19 2016, 2:09 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Apr 19 2016, 2:09 AM
This revision was automatically updated to reflect the committed changes.