update translations

This commit is contained in:
Luke Pulverenti
2014-11-14 01:27:10 -05:00
parent 4f5c768704
commit 1b06e05cf6
81 changed files with 694 additions and 263 deletions

View File

@@ -0,0 +1,32 @@
using MediaBrowser.Controller;
using System.IO;
namespace MediaBrowser.Server.Startup.Common.Migrations
{
public class DeprecatePlugins : IVersionMigration
{
private readonly IServerApplicationPaths _appPaths;
public DeprecatePlugins(IServerApplicationPaths appPaths)
{
_appPaths = appPaths;
}
public void Run()
{
RemovePlugin("MediaBrowser.Plugins.LocalTrailers.dll");
}
private void RemovePlugin(string filename)
{
try
{
File.Delete(Path.Combine(_appPaths.PluginsPath, filename));
}
catch
{
}
}
}
}