Merge pull request #5672 from annando/issue-5670

Issue 5670: Jump to the unassigned contacts
pull/5675/head
Tobias Diekershoff 2018-08-26 11:50:26 +02:00 zatwierdzone przez GitHub
commit ff16a6a9d1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -84,12 +84,12 @@ function group_content(App $a) {
return;
}
// Switch to text mode interface if we have more than 'n' contacts or group members
// With no group number provided we jump to the unassigned contacts as a starting point
if ($a->argc == 1) {
goaway(System::baseUrl() . '/contacts');
goaway('group/none');
}
// Switch to text mode interface if we have more than 'n' contacts or group members
$switchtotext = PConfig::get(local_user(), 'system', 'groupedit_image_limit');
if (is_null($switchtotext)) {
$switchtotext = Config::get('system', 'groupedit_image_limit', 400);