mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Plugin Update (#16291)
* Plugin Update Extract interfaces for use in plugin packages # Conflicts: # composer.lock * Fix some issues settings_view -> content_view
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Models\Plugin;
|
||||
use App\Plugins\PluginManager;
|
||||
use LibreNMS\Interfaces\Plugins\PluginManagerInterface;
|
||||
|
||||
class PluginAdminController extends Controller
|
||||
{
|
||||
public function __invoke(PluginManager $manager): \Illuminate\Contracts\View\View
|
||||
public function __invoke(PluginManagerInterface $manager): \Illuminate\Contracts\View\View
|
||||
{
|
||||
// legacy v1 plugins
|
||||
\LibreNMS\Plugins::scanNew();
|
||||
|
||||
Reference in New Issue
Block a user