mirror of
https://github.com/friendica/friendica
synced 2025-05-20 02:24:10 +02:00
New user option to hide the page drop checkbox
This commit is contained in:
parent
27f3f62082
commit
581b96c32f
5 changed files with 265 additions and 251 deletions
|
@ -567,7 +567,7 @@ class Conversation
|
|||
$live_update_div = '<div id="live-search"></div>' . "\r\n";
|
||||
}
|
||||
|
||||
$page_dropping = $this->session->getLocalUserId() && $this->session->getLocalUserId() == $uid && $mode != self::MODE_SEARCH;
|
||||
$page_dropping = $this->session->getLocalUserId() && $this->pConfig->get($this->session->getLocalUserId(), 'system', 'show_page_drop', true) && ($this->session->getLocalUserId() == $uid && $mode != self::MODE_SEARCH);
|
||||
|
||||
if (!$update) {
|
||||
$_SESSION['return_path'] = $this->args->getQueryString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue