From 47b8a4c5f9563896059a595d94f88d6659c59086 Mon Sep 17 00:00:00 2001 From: simonpipe Date: Wed, 7 Jan 2026 15:53:42 +0100 Subject: [PATCH] Update mastodonapi.php --- mastodonapi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mastodonapi.php b/mastodonapi.php index 035a338..cf0cab3 100644 --- a/mastodonapi.php +++ b/mastodonapi.php @@ -9,14 +9,14 @@ class YellowMastodonapi extends YellowExtension { $this->yellow->system->setDefault("mastodonapiInstanceUrl", "https://example.social"); $this->yellow->system->setDefault("mastodonapiAccountId", ""); $this->yellow->system->setDefault("mastodonapiAccessToken", ""); + $this->yellow->system->setDefault("mastodonapiUpdateInterval", "30"); + $this->yellow->system->setDefault("mastodonapiLimit", "20"); $this->yellow->system->setDefault("mastodonapiHashtag", ""); $this->yellow->system->setDefault("mastodonapiAuthor", "YellowUser"); $this->yellow->system->setDefault("mastodonapiTag", "Fediverse"); $this->yellow->system->setDefault("mastodonapiFolder", "content/2-blog/"); - $this->yellow->system->setDefault("mastodonapiLimit", "20"); - $this->yellow->system->setDefault("mastodonapiStatus", "public"); $this->yellow->system->setDefault("mastodonapiMaxAge", "0"); - $this->yellow->system->setDefault("mastodonapiUpdateInterval", "30"); + $this->yellow->system->setDefault("mastodonapiStatus", "public"); } // Handle update