Skip to content

Commit 39d5c19

Browse files
authored
Merge pull request #50 from kirtangajjar/fix/remove-autoloader
Remove wp-cli autoloader in cron-command 🥳
2 parents 948aaa4 + 1d8abdc commit 39d5c19

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"prefer-stable": true,
1010
"autoload": {
1111
"psr-4": {
12-
"": "src/"
12+
"": "src/",
13+
"EE\\Model\\": "src/db/"
1314
},
1415
"files": [
1516
"cron-command.php",
16-
"src/helper/hooks.php",
1717
"src/helper/utils.php"
1818
]
1919
},

migrations/db/20201111164339_cron-command_update_cron_user.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use EE;
66
use EE\Migration\Base;
77
use EE\Model\Cron;
8+
use EE\Model\Site;
89

910
class UpdateCronUser extends Base {
1011

0 commit comments

Comments
 (0)