From addbaf198621192bf3666268b8adc9a2c173802e Mon Sep 17 00:00:00 2001 From: condor2 Date: Fri, 28 Jun 2024 10:15:55 +0300 Subject: [PATCH] Created never used oc_session table --- upload/install/opencart.sql | 14 ++++++++++++++ upload/system/library/session/db.php | 9 +-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/upload/install/opencart.sql b/upload/install/opencart.sql index ff7b0bfe..74d4430d 100644 --- a/upload/install/opencart.sql +++ b/upload/install/opencart.sql @@ -3128,6 +3128,20 @@ CREATE TABLE `oc_review` ( -- -------------------------------------------------------- +-- +-- Table structure for table `oc_session` +-- + +DROP TABLE IF EXISTS `oc_session`; +CREATE TABLE `oc_session` ( + `session_id` varchar(32) NOT NULL, + `data` text NOT NULL, + `expire` datetime NOT NULL, + PRIMARY KEY (`session_id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci; + +-- -------------------------------------------------------- + -- -- Table structure for table `oc_setting` -- diff --git a/upload/system/library/session/db.php b/upload/system/library/session/db.php index f4d64cdd..66bdeb6d 100644 --- a/upload/system/library/session/db.php +++ b/upload/system/library/session/db.php @@ -1,13 +1,6 @@