Merge pull request 'Tumblr/Bluesky: Avoid problems on first fetch' (#1452) from heluecht/friendica-addons:first-fetch into 2023.09-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1452pull/1453/head 2023.12
commit
b87588e371
|
@ -463,7 +463,7 @@ function bluesky_jot_nets(array &$jotnets_fields)
|
||||||
|
|
||||||
function bluesky_cron()
|
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'));
|
$poll_interval = intval(DI::config()->get('bluesky', 'poll_interval'));
|
||||||
if (!$poll_interval) {
|
if (!$poll_interval) {
|
||||||
|
|
|
@ -406,7 +406,7 @@ function tumblr_settings_post(array &$b)
|
||||||
|
|
||||||
function tumblr_cron()
|
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'));
|
$poll_interval = intval(DI::config()->get('tumblr', 'poll_interval'));
|
||||||
if (!$poll_interval) {
|
if (!$poll_interval) {
|
||||||
|
|
Loading…
Reference in New Issue