From 4faf205bff060348ccf28d44693eaaedecdc5cdf Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 21:05:17 +0100 Subject: [PATCH 1/3] Remove un-needed Log statements --- app/Services/NoteService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/NoteService.php b/app/Services/NoteService.php index b1d8f50c..a1f45ad7 100644 --- a/app/Services/NoteService.php +++ b/app/Services/NoteService.php @@ -3,7 +3,7 @@ declare(strict_types=1); namespace App\Services; -use Log; + use App\{Media, Note, Place}; use App\Jobs\{SendWebMentions, SyndicateToFacebook, SyndicateToTwitter}; @@ -17,7 +17,7 @@ class NoteService */ public function createNote(array $data): Note { - Log::info($data); + //check the input if (array_key_exists('content', $data) === false) { throw new \Exception('No content defined'); //we can’t fudge the data From 32b612e3732aafe497acc8f54bafadb819c46695 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 21:12:06 +0100 Subject: [PATCH 2/3] update changelog --- changelog.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changelog.md b/changelog.md index d9e2b364..d614ebab 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version {next} + - Remove some Log statements in-appropriate for porduction + ## Version 0.5.13 (2017-06-11) - Fix issues around using ownyourgram.com From e1df65c849a73efc6fab7f4a0a550be7d1e8beaf Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 11 Jun 2017 21:12:40 +0100 Subject: [PATCH 3/3] Bump version number to 0.5.14 --- changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index d614ebab..ab9ddb36 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,6 @@ # Changelog -## Version {next} +## Version 0.5.14 (2017-06-11) - Remove some Log statements in-appropriate for porduction ## Version 0.5.13 (2017-06-11)