]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge pull request #1325 from annando/1501-more-stuff-to-proxy
[friendica.git] / mod / notes.php
index 5d70ba5cd2a4d3c5657b2712a83dbefcf8857f6d..09dac72b0c9437dec1a7ee1063dd79ef4370eddf 100644 (file)
@@ -60,16 +60,12 @@ function notes_content(&$a,$update = false) {
            'bang' => '',
                'visitor' => 'block',
                    'profile_uid' => local_user(),
-                       'button' => t('Save')
-
+                       'button' => t('Save'),
+                       'acl_data' => '',
        );
 
        $o .= status_editor($a,$x,$a->contact['id']);
 
-               $o .= '<div id="live-notes"></div>' . "\r\n";
-               $o .= "<script> var profile_uid = " . local_user() 
-                       . "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
-
        }
 
        // Construct permissions
@@ -133,7 +129,7 @@ function notes_content(&$a,$update = false) {
                if(count($r)) {
                        $items = conv_sort($r,"`commented`");
 
-                       $o .= conversation($a,$items,'notes',$update, false, true);
+                       $o .= conversation($a,$items,'notes',$update);
                }
        }