X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/f86a23ff537258d36bf8f1876fa7a4bede6673d8..837d464af77d76a2661d92e05167657cbf430d80:/cmd.c diff --git a/cmd.c b/cmd.c index 744bf84..763a558 100644 --- a/cmd.c +++ b/cmd.c @@ -112,10 +112,7 @@ 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"); + cgit_show_stats(ctx); } static void summary_fn(struct cgit_context *ctx)