mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2025-01-27 22:38:28 +00:00
Clean up and delete the old plugin file
This commit is contained in:
parent
eba461fe1d
commit
e0710f4bed
@ -52,6 +52,7 @@ class Com_WeblinksInstallerScript
|
||||
'/plugins/search/weblinks/weblinks.php',
|
||||
'/plugins/finder/weblinks/weblinks.php',
|
||||
'/plugins/editors-xtd/weblink/weblink.php',
|
||||
'plugins/system/weblinks/weblinks.php',
|
||||
];
|
||||
|
||||
$folders = [
|
||||
|
@ -81,7 +81,7 @@ final class Weblinks extends CMSPlugin implements SubscriberInterface
|
||||
*
|
||||
* @param string $extension The extension requesting information.
|
||||
*
|
||||
* @return array containing statistical information.
|
||||
* @return void
|
||||
*
|
||||
* @since __DEPLOY_VERSION__
|
||||
*/
|
||||
@ -89,14 +89,14 @@ final class Weblinks extends CMSPlugin implements SubscriberInterface
|
||||
{
|
||||
if (!ComponentHelper::isEnabled('com_weblinks'))
|
||||
{
|
||||
return [];
|
||||
return;
|
||||
}
|
||||
|
||||
[$extension] = $event->getArguments();
|
||||
|
||||
if (!in_array($extension, $this->supportedExtensions))
|
||||
{
|
||||
return [];
|
||||
return;
|
||||
}
|
||||
|
||||
$db = $this->getDatabase();
|
||||
@ -108,7 +108,7 @@ final class Weblinks extends CMSPlugin implements SubscriberInterface
|
||||
|
||||
if (!$webLinks)
|
||||
{
|
||||
return [];
|
||||
return;
|
||||
}
|
||||
|
||||
$result = $event->getArgument('result', []);
|
||||
|
@ -9,9 +9,9 @@
|
||||
<authorUrl>www.joomla.org</authorUrl>
|
||||
<version>##VERSION##</version>
|
||||
<description>PLG_SYSTEM_WEBLINKS_XML_DESCRIPTION</description>
|
||||
<namespace path="src">Joomla\Plugin\System\Weblinks</namespace>
|
||||
<files>
|
||||
<folder plugin="weblinks">services</folder>
|
||||
<folder>src</folder>
|
||||
##FILES##
|
||||
</files>
|
||||
<languages folder="language">
|
||||
##LANGUAGE_FILES##
|
||||
|
Loading…
x
Reference in New Issue
Block a user