aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-24 18:46:07 -0800
committerfriendica <info@friendica.com>2011-11-24 18:46:07 -0800
commita1c277ed1a7a604a3b0e9ab21695a45e29c1b249 (patch)
tree83d60aa5e15e147a85d23805bfb8ad7f3a86088c /mod
parent4b95e8ebe8719827566b484810dfe140f7b51726 (diff)
downloadvolse-hubzilla-a1c277ed1a7a604a3b0e9ab21695a45e29c1b249.tar.gz
volse-hubzilla-a1c277ed1a7a604a3b0e9ab21695a45e29c1b249.tar.bz2
volse-hubzilla-a1c277ed1a7a604a3b0e9ab21695a45e29c1b249.zip
remove old liveupdate marker
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php17
-rw-r--r--mod/profile.php2
2 files changed, 0 insertions, 19 deletions
diff --git a/mod/network.php b/mod/network.php
index b6440cabb..9f421053a 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -249,23 +249,6 @@ function network_content(&$a, $update = 0) {
$o .= status_editor($a,$x);
- // The special div is needed for liveUpdate to kick in for this page.
- // We only launch liveUpdate if you are on the front page, you aren't
- // filtering by group and also you aren't writing a comment (the last
- // criteria is discovered in javascript).
-
- $o .= '<div id="live-network"></div>' . "\r\n";
- $o .= "<script> var profile_uid = " . $_SESSION['uid']
- . "; var netargs = '" . substr($a->cmd,8)
- . '?f='
- . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '')
- . ((x($_GET,'search')) ? '&search=' . $_GET['search'] : '')
- . ((x($_GET,'star')) ? '&star=' . $_GET['star'] : '')
- . ((x($_GET,'order')) ? '&order=' . $_GET['order'] : '')
- . ((x($_GET,'bmark')) ? '&bmark=' . $_GET['bmark'] : '')
- . ((x($_GET,'liked')) ? '&liked=' . $_GET['liked'] : '')
- . "'; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
-
}
// We aren't going to try and figure out at the item, group, and page
diff --git a/mod/profile.php b/mod/profile.php
index f35ef3653..e7cac7959 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -121,8 +121,6 @@ function profile_content(&$a, $update = 0) {
return $o;
}
-
-
if(x($_SESSION,'new_member') && $_SESSION['new_member'] && $is_owner)
$o .= '<a href="newmember">' . t('Tips for New Members') . '</a>' . EOL;