formatting
This commit is contained in:
parent
b54c9b1ecc
commit
3357a2d058
@ -3,6 +3,7 @@
|
|||||||
namespace App\Console\Commands;
|
namespace App\Console\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module;
|
||||||
|
use App\Events\Module\Uninstalled;
|
||||||
|
|
||||||
class UninstallModule extends Module
|
class UninstallModule extends Module
|
||||||
{
|
{
|
||||||
@ -41,7 +42,7 @@ class UninstallModule extends Module
|
|||||||
|
|
||||||
$this->createHistory('uninstalled');
|
$this->createHistory('uninstalled');
|
||||||
|
|
||||||
event(new \App\Events\Module\Uninstalled($this->alias, $this->company_id));
|
event(new Uninstalled($this->alias, $this->company_id));
|
||||||
|
|
||||||
// Delete files
|
// Delete files
|
||||||
$this->module->delete();
|
$this->module->delete();
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module;
|
||||||
|
use App\Events\Module\Disabled;
|
||||||
|
|
||||||
class DisableCommand extends Module
|
class DisableCommand extends Module
|
||||||
{
|
{
|
||||||
@ -47,7 +48,7 @@ class DisableCommand extends Module
|
|||||||
|
|
||||||
$this->createHistory('disabled');
|
$this->createHistory('disabled');
|
||||||
|
|
||||||
event(new \App\Events\Module\Disabled($this->alias, $this->company_id));
|
event(new Disabled($this->alias, $this->company_id));
|
||||||
|
|
||||||
$this->revertRuntime();
|
$this->revertRuntime();
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module;
|
||||||
|
use App\Events\Module\Enabled;
|
||||||
|
|
||||||
class EnableCommand extends Module
|
class EnableCommand extends Module
|
||||||
{
|
{
|
||||||
@ -47,7 +48,7 @@ class EnableCommand extends Module
|
|||||||
|
|
||||||
$this->createHistory('enabled');
|
$this->createHistory('enabled');
|
||||||
|
|
||||||
event(new \App\Events\Module\Enabled($this->alias, $this->company_id));
|
event(new Enabled($this->alias, $this->company_id));
|
||||||
|
|
||||||
$this->revertRuntime();
|
$this->revertRuntime();
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
namespace Akaunting\Module\Commands;
|
namespace Akaunting\Module\Commands;
|
||||||
|
|
||||||
use App\Abstracts\Commands\Module;
|
use App\Abstracts\Commands\Module;
|
||||||
|
use App\Events\Module\Installed;
|
||||||
use App\Models\Module\Module as Model;
|
use App\Models\Module\Module as Model;
|
||||||
|
|
||||||
class InstallCommand extends Module
|
class InstallCommand extends Module
|
||||||
@ -41,7 +42,7 @@ class InstallCommand extends Module
|
|||||||
|
|
||||||
$this->createHistory('installed');
|
$this->createHistory('installed');
|
||||||
|
|
||||||
event(new \App\Events\Module\Installed($this->alias, $this->company_id));
|
event(new Installed($this->alias, $this->company_id));
|
||||||
|
|
||||||
$this->revertRuntime();
|
$this->revertRuntime();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user