aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Plugins/BasePlugin.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-02 02:16:52 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-02 02:16:52 -0500
commite8f5fade43b4e19825fe6d628a76538157f1fc18 (patch)
tree0e43ec72e40f1a1785a05510365de3ed82dfa5b2 /MediaBrowser.Common/Plugins/BasePlugin.cs
parent79baaa4daaee642a2f977a7648eadc4f15ab0fbe (diff)
Created an ItemsByName query dto
Diffstat (limited to 'MediaBrowser.Common/Plugins/BasePlugin.cs')
-rw-r--r--MediaBrowser.Common/Plugins/BasePlugin.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/MediaBrowser.Common/Plugins/BasePlugin.cs b/MediaBrowser.Common/Plugins/BasePlugin.cs
index 56da543f0..0d7c5c060 100644
--- a/MediaBrowser.Common/Plugins/BasePlugin.cs
+++ b/MediaBrowser.Common/Plugins/BasePlugin.cs
@@ -295,10 +295,6 @@ namespace MediaBrowser.Common.Plugins
{
InitializeOnServer(!File.Exists(ConfigurationFilePath));
}
- else if (kernel.KernelContext == KernelContext.Ui)
- {
- InitializeInUi();
- }
}
/// <summary>
@@ -310,13 +306,6 @@ namespace MediaBrowser.Common.Plugins
}
/// <summary>
- /// Starts the plugin in the Ui
- /// </summary>
- protected virtual void InitializeInUi()
- {
- }
-
- /// <summary>
/// Disposes the plugins. Undos all actions performed during Init.
/// </summary>
public void Dispose()
@@ -335,10 +324,6 @@ namespace MediaBrowser.Common.Plugins
{
DisposeOnServer(dispose);
}
- else if (Kernel.KernelContext == KernelContext.Ui)
- {
- DisposeInUI(dispose);
- }
}
/// <summary>
@@ -351,15 +336,6 @@ namespace MediaBrowser.Common.Plugins
}
/// <summary>
- /// Releases unmanaged and - optionally - managed resources.
- /// </summary>
- /// <param name="dispose"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
- protected virtual void DisposeInUI(bool dispose)
- {
-
- }
-
- /// <summary>
/// The _save lock
/// </summary>
private readonly object _configurationSaveLock = new object();