mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-28 18:01:26 -06:00
Fix some lines.
This commit is contained in:
parent
b1e453438e
commit
89fbf0869a
@ -143,11 +143,6 @@ class UpgradeDatabase extends Command
|
||||
$result = Artisan::output();
|
||||
echo $result;
|
||||
|
||||
// $this->line('Now installing OAuth2 keys...');
|
||||
// Artisan::call('passport:install');
|
||||
// $result = Artisan::output();
|
||||
// echo $result;
|
||||
|
||||
$this->line('Done!');
|
||||
}
|
||||
}
|
||||
|
@ -397,11 +397,8 @@ class LinkTypeRepository implements LinkTypeRepositoryInterface
|
||||
{
|
||||
/** @var TransactionJournalLink $link */
|
||||
$link = TransactionJournalLink::find($linkId);
|
||||
if (null !== $link) {
|
||||
|
||||
if ($link->source->user->id === $this->user->id) {
|
||||
$this->switchLink($link);
|
||||
}
|
||||
if (null !== $link && $link->source->user->id === $this->user->id) {
|
||||
$this->switchLink($link);
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user