Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions app/Console/Command/SetupShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ function main() {
)
);

$this->Co->save($co);
$this->Co->save($co, ['provision' => false]);
$co_id = $this->Co->id;

// Create the OrgIdentity. By default, Org Identities are not pooled, so
Expand All @@ -177,7 +177,7 @@ function main() {
)
);

$this->OrgIdentity->saveAll($op);
$this->OrgIdentity->saveAll($op, ['provision' => false]);
$op_id = $this->OrgIdentity->id;

// Add the OrgIdentity's identifier
Expand All @@ -192,7 +192,7 @@ function main() {
)
);

$this->Identifier->save($id);
$this->Identifier->save($id, ['provision' => false]);
$id_id = $this->Identifier->id;

// Add the OrgIdentity to the CO
Expand All @@ -213,7 +213,7 @@ function main() {
)
);

$this->CoPerson->saveAll($cop);
$this->CoPerson->saveAll($cop, ['provision' => false]);
$cop_id = $this->CoPerson->id;

// (2) Create a CO Person Role
Expand All @@ -227,7 +227,7 @@ function main() {
)
);

$this->CoPersonRole->save($copr);
$this->CoPersonRole->save($copr, ['provision' => false]);
$copr_id = $this->CoPersonRole->id;

// (3) Add an Identity Link
Expand All @@ -239,7 +239,7 @@ function main() {
)
);

$this->CoOrgIdentityLink->save($coil);
$this->CoOrgIdentityLink->save($coil, ['provision' => false]);
$coil_id = $this->CoOrgIdentityLink->id;

// Add the CO Person to the admin group
Expand All @@ -255,7 +255,7 @@ function main() {
)
);

$this->CoGroupMember->save($grm);
$this->CoGroupMember->save($grm, ['provision' => false]);

// Create platform defaults

Expand Down