spelling: than
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
4206a8de3b
commit
935e57c280
|
@ -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)) {
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue