mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 19:23:41 +00:00
Tumblr/Bluesky: Avoid problems on first fetch
This commit is contained in:
parent
77ad52d1f4
commit
96c70489f5
2 changed files with 2 additions and 2 deletions
|
@ -463,7 +463,7 @@ function bluesky_jot_nets(array &$jotnets_fields)
|
|||
|
||||
function bluesky_cron()
|
||||
{
|
||||
$last = DI::keyValue()->get('bluesky_last_poll');
|
||||
$last = (int)DI::keyValue()->get('bluesky_last_poll');
|
||||
|
||||
$poll_interval = intval(DI::config()->get('bluesky', 'poll_interval'));
|
||||
if (!$poll_interval) {
|
||||
|
|
|
@ -406,7 +406,7 @@ function tumblr_settings_post(array &$b)
|
|||
|
||||
function tumblr_cron()
|
||||
{
|
||||
$last = DI::keyValue()->get('tumblr_last_poll');
|
||||
$last = (int)DI::keyValue()->get('tumblr_last_poll');
|
||||
|
||||
$poll_interval = intval(DI::config()->get('tumblr', 'poll_interval'));
|
||||
if (!$poll_interval) {
|
||||
|
|
Loading…
Reference in a new issue