mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-06 16:28:41 +00:00
name account media folders based on id and login name
This commit is contained in:
parent
9007ed29af
commit
bd1c9fce7b
|
|
@ -737,7 +737,7 @@ final class ApiController extends Controller
|
|||
$this->createProfileForAccount($account, $request);
|
||||
|
||||
$collection = new Collection();
|
||||
$collection->setName((string) $account->getId());
|
||||
$collection->setName(((string) $account->getId()) . ' ' . $account->getName());
|
||||
$collection->setVirtualPath('/Accounts');
|
||||
$collection->setPath('/Modules/Media/Files/Accounts/' . ((string) $account->getId()));
|
||||
$collection->setCreatedBy(new NullAccount($request->getHeader()->getAccount()));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user