Remove un-needed Log statements
This commit is contained in:
parent
1dd8b6fc13
commit
4faf205bff
1 changed files with 2 additions and 2 deletions
|
@ -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 can’t fudge the data
|
throw new \Exception('No content defined'); //we can’t fudge the data
|
||||||
|
|
Loading…
Add table
Reference in a new issue