-rw-r--r-- | cmd.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -114,6 +114,3 @@ static void stats_fn(struct cgit_context *ctx) | |||
114 | { | 114 | { |
115 | if (ctx->repo->enable_stats) | 115 | cgit_show_stats(ctx); |
116 | cgit_show_stats(ctx); | ||
117 | else | ||
118 | cgit_print_error("Stats disabled for this repo"); | ||
119 | } | 116 | } |