-rw-r--r-- | cmd.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -111,12 +111,9 @@ static void snapshot_fn(struct cgit_context *ctx) } static void stats_fn(struct cgit_context *ctx) { - if (ctx->repo->enable_stats) cgit_show_stats(ctx); - else - cgit_print_error("Stats disabled for this repo"); } static void summary_fn(struct cgit_context *ctx) { |