aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/pages/user.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/pages/user.php')
-rw-r--r--mod/thewire/pages/user.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/mod/thewire/pages/user.php b/mod/thewire/pages/user.php
deleted file mode 100644
index 5645b23ba..000000000
--- a/mod/thewire/pages/user.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-/**
- * User's wire posts
- *
- */
-
-$owner = elgg_get_page_owner_entity();
-
-$title = elgg_echo('thewire:user', array($owner->name));
-
-elgg_push_breadcrumb(elgg_echo('thewire'), "thewire/all");
-elgg_push_breadcrumb($owner->name);
-
-if (get_loggedin_userid() == $owner->guid) {
- $content = elgg_view_form('thewire/add');
- $content .= elgg_view('input/urlshortener');
-}
-
-$content .= elgg_list_entities(array(
- 'type' => 'object',
- 'subtype' => 'thewire',
- 'owner_guid' => $owner->guid,
- 'limit' => 15,
-));
-
-$body = elgg_view_layout('content', array(
- 'filter_context' => 'mine',
- 'content' => $content,
- 'title' => $title,
- 'buttons' => false,
-));
-
-echo elgg_view_page($title, $body);