delete debugging print statements

This commit is contained in:
dave 2006-09-03 21:37:23 +00:00
parent ebd4666f51
commit a430aadab3

View File

@ -61,14 +61,12 @@ function config_editor_require_vars($category, $year, $varlist)
$q = mysql_query("SELECT * FROM config WHERE ".
"var='$v' AND year='-1'");
if(mysql_num_rows($q) != 1) {
print("Not found in year -1");
/* Insert a dummy */
mysql_query("INSERT INTO `config` (`var`, `val`,
`description`, `category`, `year`, `ord`)
VALUES ('$v', '', '',
'$category', $year, 99999)");
} else {
print("Found in year -1");
$r = mysql_fetch_object($q);
mysql_query("INSERT INTO `config` (`var`, `val`,
`description`, `category`, `year`, `ord`)