remove all mysql_error() instances as errors are handled by query_appdb()

This commit is contained in:
Jonathan Ernst
2005-01-14 05:34:25 +00:00
committed by WineHQ
parent c233396669
commit caf91fded2
11 changed files with 16 additions and 90 deletions

View File

@@ -38,19 +38,13 @@ if($confirmed)
}
/* echo html_frame_start("Removing",400,"",0);
*/
$result = query_appdb($query);
if($result)
if($result = query_appdb($query))
{
if($superMaintainer)
echo "You were removed as a supermaintainer of ".appIdToName($appId);
else
echo "You were removed as a maintainer of ".appIdToName($appId).versionIdToName($versionId);
} else
{
//error
echo "<p><b>Database Error!<br />".mysql_error()."</b></p>\n";
}
} else
{
if($superMaintainer)