Skip to content

Commit

Permalink
Add return for console use
Browse files Browse the repository at this point in the history
  • Loading branch information
njpanderson committed May 25, 2021
1 parent 382a6a9 commit 3ea5216
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion citrus/CitrusPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class CitrusPlugin extends BasePlugin
{
protected $version = '0.4.3';
protected $version = '0.4.4';
protected $schemaVersion = '1.2.0';
protected $name = 'Citrus';
protected $url = 'https://github.com/njpanderson/Citrus';
Expand Down Expand Up @@ -75,6 +75,10 @@ public function hasCpSection()

public function init()
{
if (craft()->isConsole()) {
return;
}

parent::init();

require __DIR__ . '/vendor/autoload.php';
Expand Down

0 comments on commit 3ea5216

Please sign in to comment.