]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
Remove obsolete cacheitem parameter to ui-functions
[ps-cgit] / ui-summary.c
index 0a44994598f1c2a6555cff64c72b7b3568494f1f..0afa0a34abd1eab81bc80fb51ca064d08e70a692 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include "cgit.h"
+#include "html.h"
 
 static int header;
 
@@ -182,9 +183,9 @@ void cgit_print_tags(int maxcount)
 
 void cgit_print_summary()
 {
-       if (cgit_repo->readme) {
+       if (ctx.repo->readme) {
                html("<div id='summary'>");
-               html_include(cgit_repo->readme);
+               html_include(ctx.repo->readme);
                html("</div>");
        }
        if (ctx.cfg.summary_log > 0)