follow new Session namespace

This commit is contained in:
Jean-Christian Paul 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 dcCore;
use dcUrlHandlers; use dcUrlHandlers;
use Dotclear\Database\Session;
use Dotclear\Helper\Network\Http; use Dotclear\Helper\Network\Http;
use Dotclear\Helper\Network\UrlHandler as HelperHandler; use Dotclear\Helper\Network\UrlHandler as HelperHandler;
use sessionDB;
/** /**
* @ingroup DC_PLUGIN_DISCLAIMER * @ingroup DC_PLUGIN_DISCLAIMER
@ -81,7 +81,7 @@ class UrlHandler extends dcUrlHandlers
]); ]);
# Create session # Create session
$session = new sessionDB( $session = new Session(
dcCore::app()->con, dcCore::app()->con,
dcCore::app()->prefix . 'session', dcCore::app()->prefix . 'session',
My::SESSION_PREFIX . dcCore::app()->blog->id, My::SESSION_PREFIX . dcCore::app()->blog->id,