22 | | if exists(project_init.xml) or exists(acct_mgr_url.xml) then |
23 | | ... do the same stuff as we do now ... |
24 | | else |
25 | | foreach (project in all_projects_list.xml) |
26 | | if exists(project.cookie) then |
27 | | add project cookie to CookiesFound array |
28 | | endif |
29 | | endfor |
| 23 | if exists(project_init.xml) or exists(acct_mgr_url.xml) then |
| 24 | ... do the same stuff as we do now ... |
| 25 | else |
| 26 | foreach (project in all_projects_list.xml) |
| 27 | if exists(project.cookie) then |
| 28 | add project cookie to CookiesFound array |
| 29 | endif |
| 30 | endfor |
33 | | if CookiesFound.Count > 0 then |
34 | | if CookiesFound[0].IsProject then |
35 | | launch attach to project wizard in automatic mode |
36 | | endif |
37 | | if CookiesFound[0].IsAccountManager then |
38 | | launch attach to account manager wizard in automatic mode |
39 | | endif |
| 34 | if CookiesFound.Count > 0 then |
| 35 | if CookiesFound[0].IsProject then |
| 36 | launch attach to project wizard in automatic mode |
| 37 | endif |
| 38 | if CookiesFound[0].IsAccountManager then |
| 39 | launch attach to account manager wizard in automatic mode |
| 40 | endif |