From c16a4d78d07e81ecdd2ff9b1b9090560ab2fe488 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 04 Sep 2026 22:25:09 +0000
Subject: [PATCH] =Got the panel loading up the fields, organized by section! Now to ensure it saves properly. Still need to add: upload fields, selector fields, repeater/taglist/group fields

---
 activate.php |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/activate.php b/activate.php
index cdb80fb..f792f57 100644
--- a/activate.php
+++ b/activate.php
@@ -34,7 +34,7 @@
 	error_log('Tables created!');
 
     // Store schema version
-    update_option('jvb_db_version', '1.0.0');
+    update_option(BASE.'db_version', '1.0.0');
 	error_log('Starting schedules...');
     jvbSchedules();
 	error_log('Schedules done!');
@@ -244,17 +244,6 @@
     }
 }
 
-// Optional: Add upgrade routine
-function jvbMaybeUpgrade():void
-{
-    $current_version = get_option('jvb_db_version', '0');
-    if (version_compare($current_version, '1.0.0', '<')) {
-        jvbActivatePlugin();
-    }
-}
-add_action('plugins_loaded', 'jvbMaybeUpgrade');
-
-
 add_action('jvb_daily_reset', 'jvbDailyResetAction');
 function jvbDailyResetAction(): void
 {

--
Gitblit v1.10.0