Removed $querycount.

git-svn-id: https://develop.svn.wordpress.org/trunk@570 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little
2003-12-05 01:27:00 +00:00
parent f2aa5da5b0
commit dc373039df
15 changed files with 27 additions and 107 deletions

View File

@@ -50,7 +50,6 @@ SELECT;
."FROM $tableoptionvalues "
."WHERE option_id = $option_result->option_id "
."ORDER BY optionvalue_seq");
++$querycount;
if ($select) {
foreach($select as $option) {
$ret .= '<option value="'.$option->optionvalue.'"';
@@ -68,7 +67,6 @@ SELECT;
case 7: // SQL select
// first get the sql to run
$sql = $wpdb->get_var("SELECT optionvalue FROM $tableoptionvalues WHERE option_id = $option_result->option_id");
++$querycount;
if (!$sql) {
return $option_result->option_name . $editable;
}