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