Update mastodonapi.php
This commit is contained in:
parent
fd7aa866f3
commit
0de22660b0
1 changed files with 3 additions and 2 deletions
|
|
@ -57,7 +57,8 @@ class YellowMastodonapi {
|
|||
public function updateMastodonPosts() {
|
||||
$postsCreated = $this->processMastodonFeed();
|
||||
if ( $postsCreated!==false ) {
|
||||
file_put_contents($this->getStatusFile(), time());
|
||||
$statusFile = $this->getStatusFile();
|
||||
file_put_contents($statusFile, time());
|
||||
}
|
||||
return $postsCreated;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue