diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-02-06 16:11:28 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-02-06 18:59:40 +0100 |
commit | c09dcc4e98ec00329c2db43e47fef32121c76312 (patch) | |
tree | 01af65f93b9f4bd615fce74c65b5497274f21b9b /web/lib/routing.inc.php | |
parent | 0722f46c6e5e1a1bae85c24379ff061025679c1d (diff) | |
download | aur-c09dcc4e98ec00329c2db43e47fef32121c76312.tar.gz aur-c09dcc4e98ec00329c2db43e47fef32121c76312.tar.xz |
Simplify canDeleteComment()
Use COUNT(*) instead of COUNT(ID) and PDO::FETCH_NUM instead of
PDO::FETCH_ASSOC. This also includes some minor formatting fixes.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/routing.inc.php')
0 files changed, 0 insertions, 0 deletions