resolve merge conflict
This commit is contained in:
parent
329708791e
commit
acfee7d9f3
2 changed files with 6 additions and 8 deletions
|
|
@ -622,6 +622,7 @@ public function updatedIsStatic($value)
|
|||
|
||||
public function updatedBuildPack()
|
||||
{
|
||||
$originalBuildPack = $this->application->getOriginal('build_pack');
|
||||
// Check if user has permission to update
|
||||
try {
|
||||
$this->authorize('update', $this->application);
|
||||
|
|
|
|||
|
|
@ -188,16 +188,13 @@ protected static function booted()
|
|||
|
||||
// Remove SERVICE_FQDN_* and SERVICE_URL_* environment variables
|
||||
$application->environment_variables()
|
||||
->where(function ($q) {
|
||||
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
|
||||
})
|
||||
->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
|
||||
->delete();
|
||||
|
||||
$application->environment_variables_preview()
|
||||
->where(function ($q) {
|
||||
$q->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%');
|
||||
})
|
||||
->where('key', 'LIKE', 'SERVICE_FQDN_%')
|
||||
->orWhere('key', 'LIKE', 'SERVICE_URL_%')
|
||||
->delete();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue