Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 836782ab authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

optimize code

parent 2942840b
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -185,9 +185,6 @@ class InvitationMiddleware extends Middleware

					$SUMMARY = $vObject->VEVENT->SUMMARY;
					$datestart = (string) $vObject->VEVENT->DTSTART;
					$$organizername = empty($vObject->VEVENT->ORGANIZER["CN"])
						? $recipient
						: $vObject->VEVENT->ORGANIZER["CN"];
					if (str_contains($datestart, "T")) {
						$eventdate = date("F d, Y h:i", strtotime($datestart));
					} else {