mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-03-22 13:19:40 +01:00
more user friendly naming for bookmark app
This commit is contained in:
parent
89ddfa014e
commit
f6a9ba7d7c
@ -43,7 +43,7 @@ foreach($bookmarks as $bm) {
|
||||
}
|
||||
$user_name = trim(OCP\User::getDisplayName()) != '' ?
|
||||
OCP\User::getDisplayName() : OCP\User::getUser();
|
||||
$export_name = 'owncloud-bookmarks-'.$user_name.'-'.date('Y-m-d').'.html';
|
||||
$export_name = '"ownCloud Bookmarks ('.$user_name.') ('.date('Y-m-d').').html"';
|
||||
header("Cache-Control: private");
|
||||
header("Content-Type: application/stream");
|
||||
header("Content-Length: ".$fileSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user