aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/views/default/thewire/profile_status.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/views/default/thewire/profile_status.php')
-rw-r--r--mod/thewire/views/default/thewire/profile_status.php28
1 files changed, 0 insertions, 28 deletions
diff --git a/mod/thewire/views/default/thewire/profile_status.php b/mod/thewire/views/default/thewire/profile_status.php
deleted file mode 100644
index 62a372516..000000000
--- a/mod/thewire/views/default/thewire/profile_status.php
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
- /**
- * New wire post view for the activity stream
- */
-
- $owner = $vars['entity']->guid;
- $url_to_wire = $vars['url'] . "pg/thewire/" . $vars['entity']->username;
-
- //grab the users latest from the wire
- $latest_wire = get_entities("object", "thewire", $owner, "", 1, 0, false, 0, null);
-
- if($latest_wire){
- foreach($latest_wire as $lw){
- $content = $lw->description;
- $time = "<span> (" . friendly_time($lw->time_created) . ")</span>";
- }
- }
-
- if($latest_wire){
- echo "<div class=\"profile_status\">";
- echo $content;
- if($owner == $_SESSION['user']->guid)
- echo " <a class=\"status_update\" href=\"{$url_to_wire}\">update</a>";
- echo $time;
- echo "</div>";
- }
-?> \ No newline at end of file