mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 06:04:08 -08:00
oops
This commit is contained in:
parent
101bd9c404
commit
6cda9056b8
|
@ -35,11 +35,11 @@ class DenormalizedEolAndAddColumnForExplicitDateToAssets extends Migration
|
||||||
if ($asset->model->eol) {
|
if ($asset->model->eol) {
|
||||||
if ($months != $asset->model->eol) {
|
if ($months != $asset->model->eol) {
|
||||||
$assetsToUpdateEolExplicit = $asset->id;
|
$assetsToUpdateEolExplicit = $asset->id;
|
||||||
$asset->update(['eol_explicit' => true]);
|
//$asset->update(['eol_explicit' => true]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$assetsToUpdateEolExplicit = $asset->id;
|
$assetsToUpdateEolExplicit = $asset->id;
|
||||||
$asset->update(['eol_explicit' => true]);
|
//$asset->update(['eol_explicit' => true]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue