1
1
Fork 0

Remove some currently unused stuff

This commit is contained in:
Michael 2018-01-03 13:34:51 +00:00
commit 243848eec1
2 changed files with 2 additions and 49 deletions

View file

@ -576,6 +576,7 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
}
} elseif ($mode === 'community') {
$profile_owner = 0;
// Currently deactivated. Will be activated when we can comment on the community page
// if (!$update) {
// $live_update_div = '<div id="live-community"></div>' . "\r\n"
// . "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
@ -619,10 +620,8 @@ function conversation(App $a, $items, $mode, $update, $preview = false) {
} else {
$writable = false;
}
$writable = true;
if ($mode === 'network-new' || $mode === 'search') {
// || $mode === 'community') {
if ($mode === 'network-new' || $mode === 'search' || $mode === 'community') {
/*
* "New Item View" on network page or search page results