mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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();
|
$result = Artisan::output();
|
||||||
echo $result;
|
echo $result;
|
||||||
|
|
||||||
// $this->line('Now installing OAuth2 keys...');
|
|
||||||
// Artisan::call('passport:install');
|
|
||||||
// $result = Artisan::output();
|
|
||||||
// echo $result;
|
|
||||||
|
|
||||||
$this->line('Done!');
|
$this->line('Done!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -397,12 +397,9 @@ class LinkTypeRepository implements LinkTypeRepositoryInterface
|
|||||||
{
|
{
|
||||||
/** @var TransactionJournalLink $link */
|
/** @var TransactionJournalLink $link */
|
||||||
$link = TransactionJournalLink::find($linkId);
|
$link = TransactionJournalLink::find($linkId);
|
||||||
if (null !== $link) {
|
if (null !== $link && $link->source->user->id === $this->user->id) {
|
||||||
|
|
||||||
if ($link->source->user->id === $this->user->id) {
|
|
||||||
$this->switchLink($link);
|
$this->switchLink($link);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user