Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/13/11 00:27:59 (13 years ago)
Author:
ascheibe
Message:

#1233

  • implemented usage of checksums for comparing assemblies
  • re-added CreateHiveDatabaseApplication.cs to project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs

    r6369 r6407  
    286286        plugin.DateCreated = DateTime.Now;
    287287        if (!plugin.IsLocal) {
    288           var existing = dao.GetPlugins(x => x.Name == plugin.Name && x.Version == plugin.Version.ToString() && !x.IsLocal);
     288          var existing = dao.GetPlugins(x => x.Hash != null && !x.IsLocal).Where(x => x.Hash.SequenceEqual(plugin.Hash));
     289
    289290          if (existing.Count() > 0) {
    290291            // a plugin with the same name and version already exists.
Note: See TracChangeset for help on using the changeset viewer.