Commit a45328f4 authored by Erick Hitter's avatar Erick Hitter
Browse files

Prepare for new datastore

Moving out of posts, into a table with appropriate indices and unique key constraints
parent 6988da3b
......@@ -18,6 +18,7 @@ require __DIR__ . '/includes/class-lock.php';
// For data consistency, ensure alternate data store is always loaded
require __DIR__ . '/includes/class-cron-options-cpt.php';
require __DIR__ . '/includes/class-events-store.php';
// Instantiate main plugin class, which checks environment and loads remaining classes when appropriate
require __DIR__ . '/includes/class-main.php';
......
<?php
namespace Automattic\WP\Cron_Control;
class Events_Store extends Singleton {
/**
* PLUGIN SETUP
*/
/**
* Class properties
*/
const TABLE_SUFFIX = 'cron_control';
/**
* Register hooks
*/
protected function class_init() {}
}
Events_Store::instance();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment