]> git.mxchange.org Git - friendica.git/commitdiff
remove old liveupdate marker
authorfriendica <info@friendica.com>
Fri, 25 Nov 2011 02:46:07 +0000 (18:46 -0800)
committerfriendica <info@friendica.com>
Fri, 25 Nov 2011 02:46:07 +0000 (18:46 -0800)
mod/network.php
mod/profile.php

index b6440cabbf0781c0889c6e12358bf4f8342bb9c0..9f421053ad68d745673a5e8b41abf42edcecd27b 100644 (file)
@@ -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
index f35ef3653fa48cc2ca85073b581ba8b44d93d4cb..e7cac7959881bc38944cab835a691f5878015af2 100644 (file)
@@ -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;