Merge pull request #15758 from snipe/jerm/fix-deprecation-warning
Fix ${var} deprecation warning in License model
This commit is contained in:
commit
7e996c40f5
1 changed files with 3 additions and 3 deletions
|
@ -184,7 +184,7 @@ class License extends Depreciable
|
||||||
$logAction->item_type = self::class;
|
$logAction->item_type = self::class;
|
||||||
$logAction->item_id = $license->id;
|
$logAction->item_id = $license->id;
|
||||||
$logAction->created_by = auth()->id() ?: 1; // We don't have an id while running the importer from CLI.
|
$logAction->created_by = auth()->id() ?: 1; // We don't have an id while running the importer from CLI.
|
||||||
$logAction->note = "deleted ${change} seats";
|
$logAction->note = "deleted {$change} seats";
|
||||||
$logAction->target_id = null;
|
$logAction->target_id = null;
|
||||||
$logAction->logaction('delete seats');
|
$logAction->logaction('delete seats');
|
||||||
|
|
||||||
|
@ -216,7 +216,7 @@ class License extends Depreciable
|
||||||
$logAction->item_type = self::class;
|
$logAction->item_type = self::class;
|
||||||
$logAction->item_id = $license->id;
|
$logAction->item_id = $license->id;
|
||||||
$logAction->created_by = auth()->id() ?: 1; // Importer.
|
$logAction->created_by = auth()->id() ?: 1; // Importer.
|
||||||
$logAction->note = "added ${change} seats";
|
$logAction->note = "added {$change} seats";
|
||||||
$logAction->target_id = null;
|
$logAction->target_id = null;
|
||||||
$logAction->logaction('add seats');
|
$logAction->logaction('add seats');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue