X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FEvent.php;h=dc818d8f15715055392137f5151ed2e7b78fd88e;hb=52a25ce6181c0b48a978f37a4ae3b94357dbb712;hp=ca22c32ac6df506e350f7f4246f07036fd6eafc9;hpb=6aa1dcfad371f34fea1f8e39b73de2cc3dd05784;p=friendica.git diff --git a/src/Model/Event.php b/src/Model/Event.php index ca22c32ac6..dc818d8f15 100644 --- a/src/Model/Event.php +++ b/src/Model/Event.php @@ -198,7 +198,7 @@ class Event public static function sortByDate(array $event_list): array { - usort($event_list, ['self', 'compareDatesCallback']); + usort($event_list, [self::class, 'compareDatesCallback']); return $event_list; } @@ -656,7 +656,7 @@ class Event } // Show edit and drop actions only if the user is the owner of the event and the event - // is a real event (no bithdays). + // is a real event (no birthdays). $edit = null; $copy = null; $drop = null;