diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 03:25:25 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 03:25:25 +0000 |
commit | d4e4268d11612408e4989a5c57f69fcb2febe8aa (patch) | |
tree | 2b3b041a5f4e17bea674a44f07c3df5c7f3811dd /mod/bookmarks/actions/delete.php | |
parent | b232f52a5273a44e28de239cbacc1e4e4b8cc8b3 (diff) | |
download | elgg-d4e4268d11612408e4989a5c57f69fcb2febe8aa.tar.gz elgg-d4e4268d11612408e4989a5c57f69fcb2febe8aa.tar.bz2 |
Refs #2680: First pass at porting the 1.7 bookmarks to 1.8. Functional, but code is still messy.
git-svn-id: http://code.elgg.org/elgg/trunk@7998 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/actions/delete.php')
-rw-r--r-- | mod/bookmarks/actions/delete.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/mod/bookmarks/actions/delete.php b/mod/bookmarks/actions/delete.php deleted file mode 100644 index 23de80146..000000000 --- a/mod/bookmarks/actions/delete.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php -/** - * Elgg bookmarks delete action - * - * @package ElggBookmarks - */ - -$guid = get_input('bookmark_guid',0); -if ($entity = get_entity($guid)) { - if ($entity->canEdit()) { - $container = get_entity($entity->container_guid); - if ($entity->delete()) { - system_message(elgg_echo("bookmarks:delete:success")); - forward("pg/bookmarks/$container->username/"); - } - } -} - -register_error(elgg_echo("bookmarks:delete:failed")); -forward(REFERER);
\ No newline at end of file |