follow new Session namespace

This commit is contained in:
Jean-Christian Denis 2023-04-20 23:15:21 +02:00
parent 18ea940415
commit 6719bac9a8
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -16,9 +16,9 @@ namespace Dotclear\Plugin\disclaimer;
use dcCore;
use dcUrlHandlers;
use Dotclear\Database\Session;
use Dotclear\Helper\Network\Http;
use Dotclear\Helper\Network\UrlHandler as HelperHandler;
use sessionDB;
/**
* @ingroup DC_PLUGIN_DISCLAIMER
@ -81,7 +81,7 @@ class UrlHandler extends dcUrlHandlers
]);
# Create session
$session = new sessionDB(
$session = new Session(
dcCore::app()->con,
dcCore::app()->prefix . 'session',
My::SESSION_PREFIX . dcCore::app()->blog->id,