Removed unused action of card.php
This commit is contained in:
parent
6304895d75
commit
3ab8cff641
@ -111,28 +111,6 @@ if ($action == 'add' || $action == 'addproduct' || $action == 'update')
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == 'delete')
|
|
||||||
{
|
|
||||||
$bookmark=new Bookmark($db);
|
|
||||||
$bookmark->id=$_GET["bid"];
|
|
||||||
$bookmark->url=$user->id;
|
|
||||||
$bookmark->target=$user->id;
|
|
||||||
$bookmark->title='xxx';
|
|
||||||
$bookmark->favicon='xxx';
|
|
||||||
|
|
||||||
$res=$bookmark->remove();
|
|
||||||
if ($res > 0)
|
|
||||||
{
|
|
||||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
setEventMessage($bookmark->error, 'errors');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* View
|
* View
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user