Skip to content

Commit

Permalink
Fixed: lic status table
Browse files Browse the repository at this point in the history
Fix: status table not creating after update
  • Loading branch information
michelve committed Dec 18, 2024
1 parent 331f3a7 commit bf5734b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 44 deletions.
39 changes: 0 additions & 39 deletions composer.json

This file was deleted.

2 changes: 2 additions & 0 deletions includes/class-slm-installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
PRIMARY KEY (id),
UNIQUE KEY unique_status_key (status_key)
) " . $charset_collate . ";";
dbDelta($status_table_sql);


// Insert default statuses if table is empty
$status_count = $wpdb->get_var("SELECT COUNT(*) FROM $lic_status_table");
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://paypal.me/mvelis
Tags: license, software license, woocommerce, license management
Requires at least: 5.6
Tested up to: 6.7
Stable tag: 6.1.9
Stable tag: 6.3.5
Tags: license manager, license key, license genrator, subscription
Requires PHP: 7.2
License: GPLv2 or later
Expand Down
8 changes: 4 additions & 4 deletions slm-plus.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
Plugin Name: SLM Plus
Version: 6.3.4
Version: 6.3.5
Plugin URI: https://github.com/michelve/software-license-manager/
Author: Michel Velis
Author URI: https://github.com/michelve/
Expand Down Expand Up @@ -33,9 +33,9 @@ function slmplus_load_textdomain()
global $wpdb, $slm_debug_logger;

// Define constants for plugin paths, URLs, and database tables
define('SLM_VERSION', '6.3.4');
define('SLM_DB_VERSION', '5.8.7');
define('SLM_REWRITE_VERSION', '3.1.2');
define('SLM_VERSION', '6.3.5');
define('SLM_DB_VERSION', '5.8.10');
define('SLM_REWRITE_VERSION', '3.1.3');
define('SLM_FOLDER', dirname(plugin_basename(__FILE__)));
define('SLM_URL', plugins_url('', __FILE__));
define('SLM_ASSETS_URL', SLM_URL . '/public/assets/');
Expand Down

0 comments on commit bf5734b

Please sign in to comment.