diff --git a/mastodonapi.php b/mastodonapi.php index 6b4b371..4583c88 100644 --- a/mastodonapi.php +++ b/mastodonapi.php @@ -3,7 +3,7 @@ // MastodonAPI extension, https://codeberg.org/simonpipe/yellow-mastodonapi class YellowMastodonapi { - const VERSION = "0.3.2"; + const VERSION = "0.3.3"; public $yellow; public function onLoad($yellow) { @@ -28,7 +28,7 @@ class YellowMastodonapi { } } -// Ermöglicht 'php yellow.php mastodonapi' im Terminal + // Ermöglicht 'php yellow.php mastodonapi' im Terminal public function onCommand($command, $text) { if ($command == "mastodonapi") { echo "Mastodon Import gestartet...\n"; @@ -40,7 +40,7 @@ class YellowMastodonapi { } echo "Erfolg: $count neue Posts verarbeitet.\n"; - return 0; + return true; } return 0; }