Fossil SCM
Remove the empty implementation of the /files webpage. (It's not only dead code since a /help page get generated for it.)
Commit
e897da20a083d12dd78c4ab1f26009cfff5b14fc8d32f620088f499bfb50fedf
Parent
8b73fbbd1a86070…
1 file changed
-17
-17
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -1258,22 +1258,5 @@ | ||
| 1258 | 1258 | @ </table></div> |
| 1259 | 1259 | db_finalize(&q1); |
| 1260 | 1260 | db_finalize(&q2); |
| 1261 | 1261 | style_finish_page(); |
| 1262 | 1262 | } |
| 1263 | - | |
| 1264 | -/* | |
| 1265 | -** WEBPAGE: files | |
| 1266 | -** | |
| 1267 | -** Show files as a flat table. If the ci=LABEL query parameter is provided, | |
| 1268 | -** then show all the files in the specified check-in. Without the ci= query | |
| 1269 | -** parameter show all files across all check-ins. | |
| 1270 | -** | |
| 1271 | -** Query parameters: | |
| 1272 | -** | |
| 1273 | -** name=PATH Directory to display. Optional | |
| 1274 | -** ci=LABEL Show only files in this check-in. Optional. | |
| 1275 | -** re=REGEXP Show only files matching REGEXP. Optional. | |
| 1276 | -*/ | |
| 1277 | -void files_page(void){ | |
| 1278 | - return; | |
| 1279 | -} | |
| 1280 | 1263 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -1258,22 +1258,5 @@ | |
| 1258 | @ </table></div> |
| 1259 | db_finalize(&q1); |
| 1260 | db_finalize(&q2); |
| 1261 | style_finish_page(); |
| 1262 | } |
| 1263 | |
| 1264 | /* |
| 1265 | ** WEBPAGE: files |
| 1266 | ** |
| 1267 | ** Show files as a flat table. If the ci=LABEL query parameter is provided, |
| 1268 | ** then show all the files in the specified check-in. Without the ci= query |
| 1269 | ** parameter show all files across all check-ins. |
| 1270 | ** |
| 1271 | ** Query parameters: |
| 1272 | ** |
| 1273 | ** name=PATH Directory to display. Optional |
| 1274 | ** ci=LABEL Show only files in this check-in. Optional. |
| 1275 | ** re=REGEXP Show only files matching REGEXP. Optional. |
| 1276 | */ |
| 1277 | void files_page(void){ |
| 1278 | return; |
| 1279 | } |
| 1280 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -1258,22 +1258,5 @@ | |
| 1258 | @ </table></div> |
| 1259 | db_finalize(&q1); |
| 1260 | db_finalize(&q2); |
| 1261 | style_finish_page(); |
| 1262 | } |
| 1263 |