diff --git a/services/provider.php b/services/provider.php deleted file mode 100644 index 18e5ea91..00000000 --- a/services/provider.php +++ /dev/null @@ -1,37 +0,0 @@ - - * @copyright Copyright (C) 2026 Moko Consulting. All rights reserved. - * @license GNU General Public License version 3 or later; see LICENSE - */ - -defined('_JEXEC') or die; - -use Joomla\CMS\Extension\PluginInterface; -use Joomla\CMS\Factory; -use Joomla\CMS\Plugin\PluginHelper; -use Joomla\DI\Container; -use Joomla\DI\ServiceProviderInterface; -use Joomla\Event\DispatcherInterface; -use Joomla\Plugin\WebServices\MokoSuiteBackup\Extension\MokoSuiteBackupWebServices; - -return new class () implements ServiceProviderInterface { - public function register(Container $container): void - { - $container->set( - PluginInterface::class, - function (Container $container) { - $plugin = new MokoSuiteBackupWebServices( - $container->get(DispatcherInterface::class), - (array) PluginHelper::getPlugin('webservices', 'mokosuitebackup') - ); - $plugin->setApplication(Factory::getApplication()); - - return $plugin; - } - ); - } -};