Elgg
Version master
|
Go to the source code of this file.
Variables | |
$id = (int) get_input('id') | |
Generic annotation delete action. More... | |
if($id< 1) | $annotation = elgg_get_annotation_from_id($id) |
if(!$annotation instanceof ElggAnnotation) if(!$annotation->canEdit()) | $ok_content |
if(!$annotation instanceof ElggAnnotation) if(!$annotation->canEdit()) if(!$annotation->delete()) | $lan_key = "annotation:delete:{$annotation->name}:success" |
if ($id< 1) $annotation = elgg_get_annotation_from_id($id) |
Definition at line 11 of file delete.php.
$id = (int) get_input('id') |
Generic annotation delete action.
Definition at line 6 of file delete.php.
if (!$annotation instanceof ElggAnnotation) if (!$annotation->canEdit()) if (!$annotation->delete()) $lan_key = "annotation:delete:{$annotation->name}:success" |
Definition at line 33 of file delete.php.
if (!$annotation instanceof ElggAnnotation) if (!$annotation->canEdit()) $ok_content |
Definition at line 20 of file delete.php.