mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
co-authored by
Tony Murray
parent
a412845b22
commit
61ad4bfbbf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user