mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
add podcasts
This commit is contained in:
@@ -19,6 +19,7 @@ class LibraryItemObserver
|
||||
public function created(LibraryItem $libraryItem)
|
||||
{
|
||||
// todo: we can change this later
|
||||
try {
|
||||
$libraryItem->setStatus('published');
|
||||
|
||||
$libraryItemName = $libraryItem->name;
|
||||
@@ -52,6 +53,9 @@ class LibraryItemObserver
|
||||
//$this->postTweet($text);
|
||||
}
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
// todo: log this
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user