mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing typo, module uninstallation and error message (also typo).
--HG-- branch : 1.x
This commit is contained in:
@@ -15,6 +15,17 @@ namespace Orchard.Packaging.Services {
|
||||
public const string ThemesPrefix = "Orchard.Themes.";
|
||||
public const string ModulesPrefix = "Orchard.Modules.";
|
||||
|
||||
public static string GetExtensionPrefix(string extensionType) {
|
||||
switch (extensionType) {
|
||||
case DefaultExtensionTypes.Theme:
|
||||
return ThemesPrefix;
|
||||
case DefaultExtensionTypes.Module:
|
||||
return ModulesPrefix;
|
||||
default:
|
||||
throw new ArgumentException();
|
||||
}
|
||||
}
|
||||
|
||||
private readonly IRepository<PackagingSource> _packagingSourceRecordRepository;
|
||||
|
||||
public PackagingSourceManager(IRepository<PackagingSource> packagingSourceRecordRepository) {
|
||||
|
Reference in New Issue
Block a user