Plugins v2 cleanup (#16298)

* cleanup

* use Illuminate\Support\Facades\Auth;

* style

* add route:cache and revert

* add route:cache and revert

* fix   in pluginExample

* fix Example plugin

* style

* fix other Hooks with Illuminate\Contracts\Auth\Authenticatable

* style

* whitespace

* whitespace2

---------

Co-authored-by: Tony Murray <[email protected]>
This commit is contained in:
PipoCanaja
2024-08-26 19:45:12 +02:00
committed by GitHub
co-authored by Tony Murray
parent a412845b22
commit 61ad4bfbbf
6 changed files with 29 additions and 7 deletions
+3
View File
@@ -40,6 +40,9 @@ class PluginEnable extends LnmsCommand
return 0;
}
//Caching application Routes
$this->callSilent('route:cache');
$this->info(trans_choice('commands.plugin:enable.enabled', $updated, ['count' => $updated]));
return 0;