dev/core#4772 fix authx on Joomla
authorBrian Shaughnessy <brian@lcdservices.biz>
Mon, 13 Nov 2023 18:20:00 +0000 (13:20 -0500)
committerBrian Shaughnessy <brian@lcdservices.biz>
Mon, 13 Nov 2023 18:20:00 +0000 (13:20 -0500)
ext/authx/Civi/Authx/Joomla.php

index 51b9f4d1bc91362fc8bc1f268fc9a5f002289c1d..094132b242aec146d5ead47af841ecd16e91efd0 100644 (file)
@@ -81,7 +81,6 @@ class Joomla implements AuthxInterface {
     // In any event, this work-around passes `AllFlowsTest::testMultipleStateless`.
 
     \JFactory::getSession()->destroy();
-    \JFactory::getSession()->setHandler(new \CRM_Utils_FakeJoomlaSession('CIVISCRIPT'));
     $user = new \JUser($userId);
     $session = \JFactory::getSession();
     $session->set('user', $user);