mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Add empty errors array
This commit is contained in:
parent
f119c69698
commit
58b3f0519d
|
@ -47,6 +47,7 @@ class RecryptFromMcrypt extends Command
|
||||||
// Check and see if they have a legacy app key listed in their .env
|
// Check and see if they have a legacy app key listed in their .env
|
||||||
// If not, we can try to use the current APP_KEY if looks like it's old
|
// If not, we can try to use the current APP_KEY if looks like it's old
|
||||||
$legacy_key = env('LEGACY_APP_KEY');
|
$legacy_key = env('LEGACY_APP_KEY');
|
||||||
|
$errors = array();
|
||||||
|
|
||||||
if (!$legacy_key) {
|
if (!$legacy_key) {
|
||||||
$this->error('ERROR: You do not have a LEGACY_APP_KEY set in your .env file. Please locate your old APP_KEY and ADD a line to your .env file like: LEGACY_APP_KEY=YOUR_OLD_APP_KEY');
|
$this->error('ERROR: You do not have a LEGACY_APP_KEY set in your .env file. Please locate your old APP_KEY and ADD a line to your .env file like: LEGACY_APP_KEY=YOUR_OLD_APP_KEY');
|
||||||
|
|
Loading…
Reference in a new issue