From 6719bac9a84f6035cb107b1a8a9da8bc3e982824 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Thu, 20 Apr 2023 23:15:21 +0200 Subject: [PATCH] follow new Session namespace --- src/UrlHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UrlHandler.php b/src/UrlHandler.php index 63945f4..5ed9f0e 100644 --- a/src/UrlHandler.php +++ b/src/UrlHandler.php @@ -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,