aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks/pages/edit.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 22:25:37 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-20 22:25:37 +0000
commit8dca382032b814a6670a227080c0f662fe1d2255 (patch)
treedca25f581929ab09428395c8ec72322f266d2995 /mod/bookmarks/pages/edit.php
parenteda716aaf2f50d58f487209c9ea1dd9ddbea74c1 (diff)
downloadelgg-8dca382032b814a6670a227080c0f662fe1d2255.tar.gz
elgg-8dca382032b814a6670a227080c0f662fe1d2255.tar.bz2
Refs #2970 updated blog and bookmarks plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8373 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/pages/edit.php')
-rw-r--r--mod/bookmarks/pages/edit.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/mod/bookmarks/pages/edit.php b/mod/bookmarks/pages/edit.php
index 7b055e699..24513a960 100644
--- a/mod/bookmarks/pages/edit.php
+++ b/mod/bookmarks/pages/edit.php
@@ -7,17 +7,13 @@
$bookmark_guid = get_input('guid');
$bookmark = get_entity($bookmark_guid);
-$container_guid = (int) get_input('container_guid');
-$container = get_entity($container_guid);
if (!elgg_instanceof($bookmark, 'object', 'bookmarks') || !$bookmark->canEdit()) {
register_error(elgg_echo('bookmarks:unknown_bookmark'));
forward(REFERRER);
}
-// for groups.
-$container = $bookmark->getContainerEntity();
-elgg_set_page_owner_guid($container->getGUID());
+$page_owner = elgg_get_page_owner_entity();
$title = elgg_echo('bookmarks:edit');
elgg_push_breadcrumb($title);