Update comment in Category.php
authorAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 8 Sep 2010 18:11:28 +0000 (18:11 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Wed, 8 Sep 2010 18:11:28 +0000 (18:11 +0000)
commit27d1e4ae23ce2da401e28762cc08a914d83102fd
treebbef6d5b1dfd9dc9ab36441732a3bdf2f2c410f7
parent7fb452c2a7d58f96379588f64559688b3555f8a5
Update comment in Category.php

Per code review I gave on r72547.  I'm actually not sure how to rewrite
this so it works with all DBs -- a replace() variant that called
nextSequenceValue() if the row didn't already exist, and reused the
existing id otherwise, would perhaps be ideal.  (Speaking of which,
replace() needs to be properly factored out, with the DBMS-independent
version in DatabaseBase and the MySQL one in DatabaseMysql.)
includes/Category.php