aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/elements/owner_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/elements/owner_block.php')
-rw-r--r--views/default/layout/elements/owner_block.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/views/default/layout/elements/owner_block.php b/views/default/layout/elements/owner_block.php
deleted file mode 100644
index 66bd30472..000000000
--- a/views/default/layout/elements/owner_block.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- * Elgg owner block
- * Displays page ownership information
- *
- * @package Elgg
- * @subpackage Core
- *
- */
-
-elgg_push_context('owner_block');
-
-// groups and other users get owner block
-$owner = elgg_get_page_owner_entity();
-if ($owner instanceof ElggGroup ||
- ($owner instanceof ElggUser && $owner->getGUID() != elgg_get_logged_in_user_guid())) {
-
- $header = elgg_view_entity($owner, false);
-
- $body = elgg_view_menu('owner_block', array(
- 'entity' => $owner,
- 'class' => 'elgg-owner-block-menu',
- ));
-
- $body .= elgg_view('layout/elements/owner_block/extend', $vars);
-
- //@todo elgg-module-owner-block?
- echo elgg_view('layout/objects/module', array(
- 'header' => $header,
- 'body' => $body,
- 'class' => 'elgg-owner-block',
- ));
-}
-
-elgg_pop_context(); \ No newline at end of file