Nicolas Cannasse 16 years ago
parent
commit
1b794dd2ad
1 changed files with 0 additions and 4 deletions
  1. 0 4
      std/tools/haxelib/SiteApi.hx

+ 0 - 4
std/tools/haxelib/SiteApi.hx

@@ -149,7 +149,6 @@ class SiteApi {
 		var curtags = otags.map(function(t) return t.tag).join(":");
 
 		// update public infos
-		var update = false;
 		if( infos.desc != p.description || p.website != infos.website || pdevs.length != devs.length || tags.join(":") != curtags ) {
 			if( u.id != p.owner.id )
 				throw "Only project owner can modify project infos";
@@ -176,9 +175,6 @@ class SiteApi {
 					t.insert();
 				}
 			}
-			update = true;
-			neko.FileSystem.deleteFile(path);
-			return "Project infos updated : submit one more time to send a new version";
 		}
 
 		// look for current version