v1.7.1
This commit is contained in:
parent
4402f3570d
commit
7b7fff5246
36 changed files with 610 additions and 31 deletions
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
namespace MediaRightsAudit\Core;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Manages all custom table creation and schema migrations.
|
||||
*
|
||||
|
|
@ -86,6 +90,8 @@ class Database {
|
|||
$wpdb->query( "TRUNCATE TABLE `{$wpdb->prefix}mra_media_usage`" );
|
||||
$wpdb->query( "TRUNCATE TABLE `{$wpdb->prefix}mra_media_index`" );
|
||||
// phpcs:enable WordPress.DB.DirectDatabaseQuery
|
||||
|
||||
delete_transient( 'mra_alert_count' );
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue