Fossil SCM
Remove an unnecessary permissions check on the /hash-color-test web page.
Commit
75e23ea9c212c2c0306222c16b1f25a76b189c72
Parent
4cacd894aa80153…
1 file changed
-1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -163,11 +163,10 @@ | ||
| 163 | 163 | void test_hash_color_page(void){ |
| 164 | 164 | const char *zBr; |
| 165 | 165 | char zNm[10]; |
| 166 | 166 | int i, cnt; |
| 167 | 167 | login_check_credentials(); |
| 168 | - if( !g.perm.Read ){ login_needed(g.anon.Read); return; } | |
| 169 | 168 | |
| 170 | 169 | style_header("Hash Color Test"); |
| 171 | 170 | for(i=cnt=0; i<10; i++){ |
| 172 | 171 | sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i); |
| 173 | 172 | zBr = P(zNm); |
| 174 | 173 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -163,11 +163,10 @@ | |
| 163 | void test_hash_color_page(void){ |
| 164 | const char *zBr; |
| 165 | char zNm[10]; |
| 166 | int i, cnt; |
| 167 | login_check_credentials(); |
| 168 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 169 | |
| 170 | style_header("Hash Color Test"); |
| 171 | for(i=cnt=0; i<10; i++){ |
| 172 | sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i); |
| 173 | zBr = P(zNm); |
| 174 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -163,11 +163,10 @@ | |
| 163 | void test_hash_color_page(void){ |
| 164 | const char *zBr; |
| 165 | char zNm[10]; |
| 166 | int i, cnt; |
| 167 | login_check_credentials(); |
| 168 | |
| 169 | style_header("Hash Color Test"); |
| 170 | for(i=cnt=0; i<10; i++){ |
| 171 | sqlite3_snprintf(sizeof(zNm),zNm,"b%d",i); |
| 172 | zBr = P(zNm); |
| 173 |