Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
slawkens committed Jan 27, 2024
1 parent fb0afdc commit df8fb68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install/tools/7-finish.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<?php
define('MYAAC_INSTALL', true);

use MyAAC\DataLoader;
use MyAAC\Models\FAQ as ModelsFAQ;
use MyAAC\Plugins;

require_once '../../common.php';

require SYSTEM . 'functions.php';
Expand Down Expand Up @@ -63,10 +67,6 @@ function insert_sample_if_not_exist($p) {
require_once SYSTEM . 'migrations/27.php';
require_once SYSTEM . 'migrations/30.php';

use MyAAC\DataLoader;
use MyAAC\Models\FAQ as ModelsFAQ;
use MyAAC\Plugins;

if(ModelsFAQ::count() == 0) {
ModelsFAQ::create([
'question' => 'What is this?',
Expand Down

0 comments on commit df8fb68

Please sign in to comment.