Remove some currently unused stuff
This commit is contained in:
parent
3ffea2cd2c
commit
243848eec1
2 changed files with 2 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue