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
-3
View File
@@ -139,7 +139,6 @@ if (!$got_links) {
echo "<p>... may need to update it though. Looking for column link_updated...</p>\n";
$query = "SELECT link_updated FROM $tablelinks LIMIT 1";
$q = @mysql_query($query);
++$querycount;
if ($q != false) {
if ($row = mysql_fetch_object($q)) {
echo "<p>You have column link_updated. Good!</p>\n";
@@ -151,7 +150,6 @@ if (!$got_links) {
}
echo "<p>Looking for column link_rel...</p>\n";
$query = "SELECT link_rel FROM $tablelinks LIMIT 1";
++$querycount;
$q = @mysql_query($query);
if ($q != false) {
if ($row = mysql_fetch_object($q)) {
@@ -168,7 +166,6 @@ if (!$got_links) {
if ($got_links && $got_cats) {
echo "<p>Looking for category 1...</p>\n";
$sql = "SELECT * FROM $tablelinkcategories WHERE cat_id=1 ";
++$querycount;
$result = mysql_query($sql) or print ("Can't query '$tablelinkcategories'.<br />" . $sql . "<br />" . mysql_error());
if ($result != false) {
if ($row = mysql_fetch_object($result)) {