- Timestamp:
- 06/13/11 00:27:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r6369 r6407 286 286 plugin.DateCreated = DateTime.Now; 287 287 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 289 290 if (existing.Count() > 0) { 290 291 // a plugin with the same name and version already exists.
Note: See TracChangeset
for help on using the changeset viewer.