Remove un-needed Log statements

This commit is contained in:
Jonny Barnes 2017-06-11 21:05:17 +01:00
parent 1dd8b6fc13
commit 4faf205bff

View file

@ -3,7 +3,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace App\Services; namespace App\Services;
use Log;
use App\{Media, Note, Place}; use App\{Media, Note, Place};
use App\Jobs\{SendWebMentions, SyndicateToFacebook, SyndicateToTwitter}; use App\Jobs\{SendWebMentions, SyndicateToFacebook, SyndicateToTwitter};
@ -17,7 +17,7 @@ class NoteService
*/ */
public function createNote(array $data): Note public function createNote(array $data): Note
{ {
Log::info($data);
//check the input //check the input
if (array_key_exists('content', $data) === false) { if (array_key_exists('content', $data) === false) {
throw new \Exception('No content defined'); //we cant fudge the data throw new \Exception('No content defined'); //we cant fudge the data