mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -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 ($months != $asset->model->eol) {
|
||||
$assetsToUpdateEolExplicit = $asset->id;
|
||||
$asset->update(['eol_explicit' => true]);
|
||||
//$asset->update(['eol_explicit' => true]);
|
||||
}
|
||||
} else {
|
||||
$assetsToUpdateEolExplicit = $asset->id;
|
||||
$asset->update(['eol_explicit' => true]);
|
||||
//$asset->update(['eol_explicit' => true]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue