Move Core\Session::set() to DI::session()->set()

This commit is contained in:
Philipp 2022-10-18 21:12:23 +02:00
parent dfb5792773
commit 3a8bcb3fbf
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
7 changed files with 7 additions and 12 deletions

View file

@ -345,7 +345,7 @@ class Network extends BaseModule
self::$star = false;
}
Session::set('network-tab', self::$selectedTab);
DI::session()->set('network-tab', self::$selectedTab);
DI::pConfig()->set(local_user(), 'network.view', 'selected_tab', self::$selectedTab);
self::$accountTypeString = $get['accounttype'] ?? $this->parameters['accounttype'] ?? '';