[views/startup] drop a duplicate rql query in manage view
Counting entities in `nb` is already done above this code, regression introduced by a85db6fa
--- a/cubicweb/web/views/startup.py Tue Jun 19 09:13:40 2018 +0200
+++ b/cubicweb/web/views/startup.py Thu Jun 28 10:17:15 2018 +0200
@@ -131,7 +131,6 @@
label = display_name(req, etype, 'plural')
else:
label = display_name(req, etype)
- nb = req.execute('Any COUNT(X) WHERE X is %s' % etype)[0][0]
url = self._cw.build_url(etype)
etypelink = u' <a href="%s">%s</a> (%d)' % (
xml_escape(url), label, nb)