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

e7a4a226 breaks too many things

parent e7a4a226
......@@ -42,18 +42,14 @@ class Main extends Singleton {
require __DIR__ . '/utils.php';
require __DIR__ . '/class-events-store.php';
if ( Events_Store::is_installed() ) {
// Load dependencies for remaining classes
require __DIR__ . '/class-lock.php';
// Load remaining functionality
require __DIR__ . '/class-events.php';
require __DIR__ . '/class-internal-events.php';
require __DIR__ . '/class-rest-api.php';
require __DIR__ . '/functions.php';
}
// Last but not least, some CLI
// Load dependencies for remaining classes
require __DIR__ . '/class-lock.php';
// Load remaining functionality
require __DIR__ . '/class-events.php';
require __DIR__ . '/class-internal-events.php';
require __DIR__ . '/class-rest-api.php';
require __DIR__ . '/functions.php';
require __DIR__ . '/wp-cli.php';
}
......
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