Use a separate function for "Required by" links
commitdd808ac8023175f940f54746fc69f9a61a80fc03
authorLukas Fleischer <lfleischer@archlinux.org>
Thu, 17 Sep 2015 17:06:18 +0000 (17 19:06 +0200)
committerLukas Fleischer <lfleischer@archlinux.org>
Thu, 17 Sep 2015 17:06:18 +0000 (17 19:06 +0200)
tree8e371ac8a51b7a6d140daf99745120dac46b225d
parent2c20403cc4e7f788b04afbf7adda6e96e3cfcf27
Use a separate function for "Required by" links

Do not use the same function for generating dependency and inverse
dependency links. Instead, factor out common code and create two
separate functions for those (rather different) functionalities.

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
web/lib/pkgfuncs.inc.php
web/template/pkg_details.php