Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic moved to TCMN #3380

Merged
merged 7 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests-php-ct1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ jobs:
run: |
${SLIC_BIN} up wordpress
${SLIC_BIN} wp core version
${SLIC_BIN} wp core update --force --version=6.4.1
${SLIC_BIN} wp core update --force --version=6.5
${SLIC_BIN} wp core version
# ------------------------------------------------------------------------------
# Install and activate TwentyTwenty
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-php-ft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ jobs:
run: |
${SLIC_BIN} up wordpress
${SLIC_BIN} wp core version
${SLIC_BIN} wp core update --force --version=6.4.1
${SLIC_BIN} wp core update --force --version=6.5
${SLIC_BIN} wp core version
# ------------------------------------------------------------------------------
# Install and activate TwentyTwenty
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ jobs:
run: |
${SLIC_BIN} up wordpress
${SLIC_BIN} wp core version
${SLIC_BIN} wp core update --force --version=6.4.1
${SLIC_BIN} wp core update --force --version=6.5
${SLIC_BIN} wp core version
# ------------------------------------------------------------------------------
# Install and activate TwentyTwenty
Expand Down
4 changes: 4 additions & 0 deletions changelog/feat-custom-tables
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: tweak

Moved abstract class for custom tables into TCMN.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@

namespace TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;

use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Order_Modifier_Relationships.
*
* @since 5.18.0
*
* @package TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;
*/
class Order_Modifier_Relationships extends Abstract_Custom_Table {
class Order_Modifier_Relationships extends Table {
/**
* @since 5.18.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@

namespace TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;

use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Orders_Modifiers.
*
* @since 5.18.0
*
* @package TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;
*/
class Order_Modifiers extends Abstract_Custom_Table {
class Order_Modifiers extends Table {
/**
* @since 5.18.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@

namespace TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;

use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Order_Modifiers_Meta.
*
* @since 5.18.0
*
* @package TEC\Tickets\Commerce\Order_Modifiers\Custom_Tables;
*/
class Order_Modifiers_Meta extends Abstract_Custom_Table {
class Order_Modifiers_Meta extends Table {

/**
* @since 5.18.0
Expand Down
133 changes: 0 additions & 133 deletions src/Tickets/Seating/Tables/Custom_Table_Query_Methods.php

This file was deleted.

4 changes: 1 addition & 3 deletions src/Tickets/Seating/Tables/Layouts.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace TEC\Tickets\Seating\Tables;

use TEC\Common\StellarWP\Schema\Tables\Contracts\Table;
use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Layouts.
Expand All @@ -19,8 +19,6 @@
* @package TEC\Controller\Tables;
*/
class Layouts extends Table {
use Custom_Table_Query_Methods;

/**
* The schema version.
*
Expand Down
4 changes: 1 addition & 3 deletions src/Tickets/Seating/Tables/Maps.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace TEC\Tickets\Seating\Tables;

use TEC\Common\StellarWP\Schema\Tables\Contracts\Table;
use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Maps.
Expand All @@ -19,8 +19,6 @@
* @package TEC\Controller\Tables;
*/
class Maps extends Table {
use Custom_Table_Query_Methods;

/**
* The schema version.
*
Expand Down
4 changes: 1 addition & 3 deletions src/Tickets/Seating/Tables/Seat_Types.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace TEC\Tickets\Seating\Tables;

use TEC\Common\StellarWP\DB\DB;
use TEC\Common\StellarWP\Schema\Tables\Contracts\Table;
use TEC\Common\Integrations\Custom_Table_Abstract as Table;

/**
* Class Seat_Types.
Expand All @@ -20,8 +20,6 @@
* @package TEC\Controller\Tables;
*/
class Seat_Types extends Table {
use Custom_Table_Query_Methods;

/**
* The schema version.
*
Expand Down
3 changes: 1 addition & 2 deletions src/Tickets/Seating/Tables/Sessions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

use Exception;
use TEC\Common\StellarWP\DB\DB;
use TEC\Common\StellarWP\Schema\Tables\Contracts\Table;
use TEC\Common\Integrations\Custom_Table_Abstract as Table;
use TEC\Tickets\Seating\Logging;

/**
Expand All @@ -22,7 +22,6 @@
* @package TEC\Tickets\Seating\Tables;
*/
class Sessions extends Table {
use Truncate_Methods;
use Logging;

/**
Expand Down
Loading
Loading