1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Put default fetching error title in global config

This commit is contained in:
Jerome Charaoui 2016-12-06 22:27:08 -05:00 committed by Jeremy Benoist
parent 7aba665e48
commit 1c5da417e4
No known key found for this signature in database
GPG key ID: FB413A58C7715C86
5 changed files with 5 additions and 3 deletions

View file

@ -60,9 +60,6 @@ class EntryController extends Controller
*/
private function updateEntry(Entry $entry, $prefixMessage = 'entry_saved')
{
// put default title in case of fetching content failed
$entry->setTitle('No title found');
$message = 'flashes.entry.notice.'.$prefixMessage;
try {