mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Remove repo warnings
This commit is contained in:
parent
1e48a9c17d
commit
d57117477c
@ -78,7 +78,6 @@ class ClientRepository extends BaseRepository
|
|||||||
$client = Client::createNew();
|
$client = Client::createNew();
|
||||||
} else {
|
} else {
|
||||||
$client = Client::scope($publicId)->with('contacts')->firstOrFail();
|
$client = Client::scope($publicId)->with('contacts')->firstOrFail();
|
||||||
\Log::warning('Entity not set in client repo save');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// convert currency code to id
|
// convert currency code to id
|
||||||
|
@ -68,7 +68,6 @@ class TaskRepository
|
|||||||
// do nothing
|
// do nothing
|
||||||
} elseif ($publicId) {
|
} elseif ($publicId) {
|
||||||
$task = Task::scope($publicId)->firstOrFail();
|
$task = Task::scope($publicId)->firstOrFail();
|
||||||
\Log::warning('Entity not set in task repo save');
|
|
||||||
} else {
|
} else {
|
||||||
$task = Task::createNew();
|
$task = Task::createNew();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user