Removing log messages
This commit is contained in:
parent
7e1a0634f5
commit
2a109cbfbc
1 changed files with 2 additions and 4 deletions
|
|
@ -31,15 +31,13 @@ class EntityRequest extends Request {
|
|||
}
|
||||
|
||||
$class = Utils::getEntityClass($this->entityType);
|
||||
\Log::info('entity ' . $this->entityType . ' - ' . $publicId);
|
||||
|
||||
if (method_exists($class, 'withTrashed')) {
|
||||
\Log::info('has withTrashed')
|
||||
$this->entity = $class::scope($publicId)->withTrashed()->firstOrFail();
|
||||
} else {
|
||||
\Log::info('does not have withTrashed')
|
||||
$this->entity = $class::scope($publicId)->firstOrFail();
|
||||
}
|
||||
\Log::info($this->entity);
|
||||
|
||||
return $this->entity;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue