Delete old plugin file
This commit is contained in:
parent
510c296a7a
commit
a07ab47744
|
@ -51,6 +51,7 @@ class Com_WeblinksInstallerScript
|
||||||
'/modules/mod_weblinks/mod_weblinks.php',
|
'/modules/mod_weblinks/mod_weblinks.php',
|
||||||
'/plugins/search/weblinks/weblinks.php',
|
'/plugins/search/weblinks/weblinks.php',
|
||||||
'/plugins/finder/weblinks/weblinks.php',
|
'/plugins/finder/weblinks/weblinks.php',
|
||||||
|
'/plugins/editors-xtd/weblink/weblink.php',
|
||||||
];
|
];
|
||||||
|
|
||||||
$folders = [
|
$folders = [
|
||||||
|
|
|
@ -33,12 +33,13 @@ return new class () implements ServiceProviderInterface {
|
||||||
$container->set(
|
$container->set(
|
||||||
PluginInterface::class,
|
PluginInterface::class,
|
||||||
function (Container $container) {
|
function (Container $container) {
|
||||||
|
$app = Factory::getApplication();
|
||||||
$dispatcher = $container->get(DispatcherInterface::class);
|
$dispatcher = $container->get(DispatcherInterface::class);
|
||||||
|
|
||||||
return new Weblink(
|
return new Weblink(
|
||||||
$dispatcher,
|
$dispatcher,
|
||||||
(array) PluginHelper::getPlugin('editors-xtd', 'weblink'),
|
(array) PluginHelper::getPlugin('editors-xtd', 'weblink'),
|
||||||
Factory::getApplication()
|
$app
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue