summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comments.php
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-04-06 19:23:42 -0700
committerLukas Fleischer <archlinux@cryptocrack.de>2011-04-12 11:56:32 +0200
commit2e444a79d55bce6cb3a908b50c115f2419913b53 (patch)
tree4fcfe4a3658806f110d3ee156be36d88415d58e3 /web/template/pkg_comments.php
parenteaffdc27f813a48911088994358640a069b30b7e (diff)
downloadaurweb-2e444a79d55bce6cb3a908b50c115f2419913b53.tar.xz
remove mysql dependency from gendummydata
- remove need to use mysql for escaping the sql -- removing single quote should be enough - instead of using sql to fetch categories from a live database, simply consider categories an integer range, specified to the size of that in the aur-schema. Lukas: Add "CATEGORIES_COUNT" initialization. Fix random number range used in genCategory() (AUTO_INCREMENT columns are 1-based by default, not 0-based). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_comments.php')
0 files changed, 0 insertions, 0 deletions