In case of com.woltlab.wbb this only triggers if and only if a user *ever*
marked all boards as read. With the increase of the default lifetime in the
previous commit it becomes obsolete.
}
if (isset($this->userVisits[$objectTypeID])) {
- // double times the lifetime period for existing visit data;
- // equals 2 weeks for the default lifetime of 7 days
- $minimum -= $lifetime;
-
// using `max()` here will yield the most recent point in time
return \max($this->userVisits[$objectTypeID], $minimum);
}