mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 23:54:12 -08:00
Merge branch 'develop'
This commit is contained in:
commit
f56e1768b6
|
@ -22,7 +22,14 @@ class License extends Depreciable
|
||||||
protected $injectUniqueIdentifier = true;
|
protected $injectUniqueIdentifier = true;
|
||||||
use ValidatingTrait;
|
use ValidatingTrait;
|
||||||
|
|
||||||
protected $dates = ['deleted_at'];
|
// We set these as protected dates so that they will be easily accessible via Carbon
|
||||||
|
protected $dates = [
|
||||||
|
'created_at',
|
||||||
|
'updated_at',
|
||||||
|
'deleted_at',
|
||||||
|
'purchase_date'
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
public $timestamps = true;
|
public $timestamps = true;
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ echo "--------------------------------------------------------\n\n";
|
||||||
if (file_exists('composer.phar')) {
|
if (file_exists('composer.phar')) {
|
||||||
echo "-- Local composer.phar detected, so we'll use that.\n\n";
|
echo "-- Local composer.phar detected, so we'll use that.\n\n";
|
||||||
$composer_dump = shell_exec('php composer.phar dump');
|
$composer_dump = shell_exec('php composer.phar dump');
|
||||||
$composer = shell_exec('php composer.phar install --prefer-source');
|
$composer = shell_exec('php composer.phar install --no-dev --prefer-source');
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo "-- We couldn't find a local composer.phar - trying globally.\n\n";
|
echo "-- We couldn't find a local composer.phar - trying globally.\n\n";
|
||||||
|
|
Loading…
Reference in a new issue