Delete old plugin file

This commit is contained in:
Tuan Pham Ngoc 2023-03-16 17:58:41 +07:00
parent 510c296a7a
commit a07ab47744
2 changed files with 3 additions and 1 deletions

View File

@ -51,6 +51,7 @@ class Com_WeblinksInstallerScript
'/modules/mod_weblinks/mod_weblinks.php',
'/plugins/search/weblinks/weblinks.php',
'/plugins/finder/weblinks/weblinks.php',
'/plugins/editors-xtd/weblink/weblink.php',
];
$folders = [

View File

@ -33,12 +33,13 @@ return new class () implements ServiceProviderInterface {
$container->set(
PluginInterface::class,
function (Container $container) {
$app = Factory::getApplication();
$dispatcher = $container->get(DispatcherInterface::class);
return new Weblink(
$dispatcher,
(array) PluginHelper::getPlugin('editors-xtd', 'weblink'),
Factory::getApplication()
$app
);
}
);