Update mastodonapi.php

This commit is contained in:
simonpipe 2026-01-07 09:58:23 +01:00
parent 60cee94861
commit fada60ed46

View file

@ -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;
}