Remove unused db updates
This commit is contained in:
@@ -8,8 +8,6 @@ class Wiaas_DB_Update {
|
||||
'20180801222206' => 'wiaas_db_update_setup_gravity',
|
||||
'20180802222206' => 'wiaas_db_update_add_delivery_process_forms',
|
||||
'20180811134511' => 'wiaas_db_update_enable_orders_access_management',
|
||||
'20180813134511' => 'wiaas_db_update_enable_order_numbers',
|
||||
'20180826153509' => 'wiaas_create_broker_access_group',
|
||||
'20180911101010' => 'wiaas_db_setup_exclusive_taxonomies',
|
||||
'20181003164100' => 'wiaas_db_setup_customer_capabilities',
|
||||
'20181012164450' => 'wiaas_db_update_add_user_organization_ui_fields',
|
||||
|
||||
@@ -80,20 +80,6 @@ function wiaas_db_update_enable_orders_access_management() {
|
||||
Groups_Options::update_option(Groups_Post_Access::POST_TYPES, $post_types_option);
|
||||
}
|
||||
|
||||
function wiaas_db_update_enable_order_numbers() {
|
||||
update_option('wcj_order_numbers_enabled', 'yes');
|
||||
update_option('wcj_order_number_sequential_enabled', 'no');
|
||||
update_option('wcj_order_number_counter', '0');
|
||||
update_option('wcj_order_number_counter_reset_enabled', 'no');
|
||||
update_option('wcj_order_number_prefix', '1000000');
|
||||
}
|
||||
|
||||
function wiaas_create_broker_access_group() {
|
||||
Groups_Group::create(array(
|
||||
'name' => 'Broker',
|
||||
));
|
||||
}
|
||||
|
||||
function wiaas_db_setup_exclusive_taxonomies() {
|
||||
update_option('radio_button_for_taxonomies_options', array(
|
||||
'taxonomies' => array(
|
||||
|
||||
@@ -60,6 +60,8 @@
|
||||
|
||||
"wpackagist-plugin/advanced-custom-fields" : "5.7.7",
|
||||
|
||||
"wpackagist-plugin/radio-buttons-for-taxonomies": "1.8.3",
|
||||
|
||||
"wpackagist-plugin/sendgrid-email-delivery-simplified" : "1.11.8",
|
||||
|
||||
"3rdparty/gravityforms": "*",
|
||||
@@ -91,6 +93,7 @@
|
||||
"wp plugin activate gravityflow",
|
||||
"wp plugin activate groups",
|
||||
"wp plugin activate wp-user-groups",
|
||||
"wp plugin activate radio-buttons-for-taxonomies",
|
||||
"wp plugin activate advanced-access-manager",
|
||||
"wp plugin activate advanced-custom-fields",
|
||||
"wp plugin activate sendgrid-email-delivery-simplified",
|
||||
|
||||
22
backend/composer.lock
generated
22
backend/composer.lock
generated
@@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "62d3be68fde09ac1d4a1a4578f1a8743",
|
||||
"content-hash": "46d983092d336b15b357f8569468977c",
|
||||
"packages": [
|
||||
{
|
||||
"name": "3rdparty/gravityflow",
|
||||
@@ -508,6 +508,26 @@
|
||||
"type": "wordpress-plugin",
|
||||
"homepage": "https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/"
|
||||
},
|
||||
{
|
||||
"name": "wpackagist-plugin/radio-buttons-for-taxonomies",
|
||||
"version": "1.8.3",
|
||||
"source": {
|
||||
"type": "svn",
|
||||
"url": "https://plugins.svn.wordpress.org/radio-buttons-for-taxonomies/",
|
||||
"reference": "tags/1.8.3"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://downloads.wordpress.org/plugin/radio-buttons-for-taxonomies.1.8.3.zip",
|
||||
"reference": null,
|
||||
"shasum": null
|
||||
},
|
||||
"require": {
|
||||
"composer/installers": "~1.0"
|
||||
},
|
||||
"type": "wordpress-plugin",
|
||||
"homepage": "https://wordpress.org/plugins/radio-buttons-for-taxonomies/"
|
||||
},
|
||||
{
|
||||
"name": "wpackagist-plugin/sendgrid-email-delivery-simplified",
|
||||
"version": "1.11.8",
|
||||
|
||||
Reference in New Issue
Block a user