]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Event.php
Merge pull request #13096 from ne20002/heikosblog.eu
[friendica.git] / src / Model / Event.php
index ca22c32ac6df506e350f7f4246f07036fd6eafc9..dc818d8f15715055392137f5151ed2e7b78fd88e 100644 (file)
@@ -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;