From c12d207a96271a86e9cf08dd8e658098a2659048 Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Sat, 4 Jul 2026 16:50:11 -0500 Subject: [PATCH] chore: remove stray root services/provider.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The canonical webservices provider lives in source/packages/plg_webservices_mokosuitebackup/services/provider.php. This root-level copy is an orphaned duplicate — nothing references it and it is not part of any packaged extension. Recovered from a stash of previously-set-aside cleanup. Claude-Session: https://claude.ai/code/session_01WbGBN9VyRK61zczYWcCQ2i --- services/provider.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 services/provider.php 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; - } - ); - } -};