refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
17
app/Traits/DAVFormat.php
Normal file
17
app/Traits/DAVFormat.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Traits;
|
||||
|
||||
trait DAVFormat
|
||||
{
|
||||
/**
|
||||
* Formats and returns a string for DAV Card/Cal.
|
||||
*
|
||||
* @param null|string $value
|
||||
* @return null|string
|
||||
*/
|
||||
private function formatValue(?string $value): ?string
|
||||
{
|
||||
return ! empty($value) ? str_replace('\;', ';', trim($value)) : null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user