summaryrefslogtreecommitdiffstats
path: root/web/lib/acctfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 18:18:19 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 22:19:07 +0200
commitc349cb2feafa1c2009e8f41c039edc661ef6e0be (patch)
treec3e8b4deb58458472a7c6bfec0764f107558cae4 /web/lib/acctfuncs.inc.php
parentfc657af7f6c52aabbb40b1da922672c554f72438 (diff)
downloadaur-c349cb2feafa1c2009e8f41c039edc661ef6e0be.tar.gz
aur-c349cb2feafa1c2009e8f41c039edc661ef6e0be.tar.xz
Add virtual path support for package actions
This allows for using following URLs: * /package/$pkg_name/flag: Flag a package out-of-date * /package/$pkg_name/unflag: Unflag a package * /package/$pkg_name/notify: Enable comment notifications * /package/$pkg_name/unnotify: Disable comment notifications * /package/$pkg_name/vote: Vote for the package * /package/$pkg_name/unvote: Remove vote Note that this code is very hackish and should be refactored once we drop support for legacy URLs. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/acctfuncs.inc.php')
0 files changed, 0 insertions, 0 deletions