1
0
Fork 0

spelling: than

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-20 23:16:49 -04:00
parent 4206a8de3b
commit 935e57c280
2 changed files with 2 additions and 2 deletions

View file

@ -945,7 +945,7 @@ class Feed
$previous_created = $last_update; $previous_created = $last_update;
// Don't cache when the last item was posted less then 15 minutes ago (Cache duration) // Don't cache when the last item was posted less than 15 minutes ago (Cache duration)
if ((time() - strtotime($owner['last-item'])) < 15 * 60) { if ((time() - strtotime($owner['last-item'])) < 15 * 60) {
$result = DI::cache()->get($cachekey); $result = DI::cache()->get($cachekey);
if (!$nocache && !is_null($result)) { if (!$nocache && !is_null($result)) {

View file

@ -1709,7 +1709,7 @@ class OStatus
$previous_created = $last_update; $previous_created = $last_update;
// Don't cache when the last item was posted less then 15 minutes ago (Cache duration) // Don't cache when the last item was posted less than 15 minutes ago (Cache duration)
if ((time() - strtotime($owner['last-item'])) < 15*60) { if ((time() - strtotime($owner['last-item'])) < 15*60) {
$result = DI::cache()->get($cachekey); $result = DI::cache()->get($cachekey);
if (!$nocache && !is_null($result)) { if (!$nocache && !is_null($result)) {