Jake Vanderwerf
2026-08-25 3d25ad7de4fdbb3eba2cde2a62422e6be5d79a0a
inc/integrations/UserConnection.php
@@ -19,7 +19,7 @@
   }
   public function switchUser(?int $userID = null):bool
   {
      if (!$this->userCanConnect($userID)) {
      if (!is_null($userID) && !$this->userCanConnect($userID)) {
         return false;
      }
      $this->clearUser();
@@ -37,7 +37,6 @@
   protected function clearUser():void
   {
      $this->userID = false;
      $this->credentials = [];
      if (property_exists($this, 'rateLimiter')) {
         $this->requestLimiter?->saveHistory();
         $this->requestLimiter = null;