diff --git a/modules/cms/classes/ThemeManager.php b/modules/cms/classes/ThemeManager.php index 8eb2abc1a..cda79214f 100644 --- a/modules/cms/classes/ThemeManager.php +++ b/modules/cms/classes/ThemeManager.php @@ -2,9 +2,8 @@ namespace Cms\Classes; -use Cms\Classes\Theme; use System\Classes\Extensions\ExtensionManager; -use System\Classes\Extensions\ExtensionSource; +use System\Classes\Extensions\Source\ExtensionSource; use System\Classes\Extensions\WinterExtension; use System\Models\Parameter; use Winter\Storm\Exception\ApplicationException; diff --git a/modules/system/classes/extensions/ExtensionManager.php b/modules/system/classes/extensions/ExtensionManager.php index 4814dc0bd..ef4dd43d5 100644 --- a/modules/system/classes/extensions/ExtensionManager.php +++ b/modules/system/classes/extensions/ExtensionManager.php @@ -2,6 +2,7 @@ namespace System\Classes\Extensions; +use System\Classes\Extensions\Source\ExtensionSource; use Winter\Storm\Exception\ApplicationException; interface ExtensionManager diff --git a/modules/system/classes/extensions/PluginManager.php b/modules/system/classes/extensions/PluginManager.php index c689cc74a..30ba82e8a 100644 --- a/modules/system/classes/extensions/PluginManager.php +++ b/modules/system/classes/extensions/PluginManager.php @@ -14,6 +14,7 @@ use RecursiveDirectoryIterator; use RecursiveIteratorIterator; use System\Classes\ComposerManager; +use System\Classes\Extensions\Source\ExtensionSource; use System\Classes\SettingsManager; use System\Classes\UpdateManager; use System\Classes\VersionManager; diff --git a/modules/system/classes/extensions/source/ComposerSource.php b/modules/system/classes/extensions/source/ComposerSource.php new file mode 100644 index 000000000..837da28e8 --- /dev/null +++ b/modules/system/classes/extensions/source/ComposerSource.php @@ -0,0 +1,20 @@ +