Skip to content

Commit 63d4d0f

Browse files
Merge branch 'main' of github.com:ibericode/koko-analytics
2 parents bac53f8 + d3a3ebb commit 63d4d0f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/class-command.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ class Command
2424
*/
2525
public function aggregate($args, $assoc_args)
2626
{
27-
$aggregator = new Aggregator();
28-
$aggregator->aggregate();
27+
Aggregator::run();
2928
WP_CLI::success('Stats aggregated.');
3029
}
3130
}

0 commit comments

Comments
 (0)