From 58f84dda3df795a1eb66c7256a5c492a7413255d Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Sat, 2 Sep 2023 15:52:20 -0400 Subject: [PATCH] ext/standaloneusers: logout must be static --- ext/standaloneusers/CRM/Standaloneusers/Page/Login.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php b/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php index dc52eb190b..b3a40144e9 100644 --- a/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php +++ b/ext/standaloneusers/CRM/Standaloneusers/Page/Login.php @@ -20,7 +20,7 @@ class CRM_Standaloneusers_Page_Login extends CRM_Core_Page { /** * Log out. */ - public function logout() { + public static function logout() { Security::singleton()->logoutUser(); // Dump them back on the log-IN page. CRM_Utils_System::redirect('/civicrm/login?justLoggedOut'); -- 2.25.1