Mercurial > hg > fapweb
changeset 489:aa65fe63072e
Rename a variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Dec 2013 15:23:33 +0200 |
parents | 532cebd9c9f2 |
children | 505f46b8bb14 |
files | createdb.php |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/createdb.php Sat Dec 07 15:23:01 2013 +0200 +++ b/createdb.php Sat Dec 07 15:23:33 2013 +0200 @@ -419,11 +419,11 @@ // Act according to specified command -$addData = FALSE; +$addTestData = FALSE; switch (stCArgLC(1)) { case "test": - $addData = TRUE; + $addTestData = TRUE; case "new": if (stCreateTables(FALSE)) @@ -433,8 +433,8 @@ stAddSettings($siteDisplayVars, "displayVars", FALSE); } - if ($addData) stAddTestData(); + if ($addTestData) if (substr($spec, 0, 7) == "sqlite:") {