mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
functions.inc.php: reindent
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@520 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
49079bd1e5
commit
1193e752ac
@ -1561,7 +1561,9 @@ function db_assoc ($result)
|
||||
//
|
||||
function db_delete ($table,$where,$delete)
|
||||
{
|
||||
$result = db_query ("DELETE FROM $table WHERE " . escape_string($where) . "='" . escape_string($delete) . "'");
|
||||
$query = "DELETE FROM $table WHERE " . escape_string($where) . "='" . escape_string($delete) . "'";
|
||||
echo $query;
|
||||
$result = db_query ($query);
|
||||
if ($result['rows'] >= 1)
|
||||
{
|
||||
return $result['rows'];
|
||||
|
Loading…
Reference in New Issue
Block a user