Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OSE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
OSE
Commits
e0ad9d12
Commit
e0ad9d12
authored
4 years ago
by
Antony Le Courtes
Browse files
Options
Downloads
Patches
Plain Diff
Correction script migration statut autres
parent
d9486e35
No related branches found
No related tags found
1 merge request
!55
Ll bug report services
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
admin/migration/MigrationStatutAutres.php
+11
-6
11 additions, 6 deletions
admin/migration/MigrationStatutAutres.php
with
11 additions
and
6 deletions
admin/migration/MigrationStatutAutres.php
+
11
−
6
View file @
e0ad9d12
...
...
@@ -28,7 +28,9 @@ class MigrationStatutAutres extends AbstractMigration
"
;
$statutAutres
=
current
(
$bdd
->
select
(
$sqlStatutAutres
));
//Si j'ai DOSSIER_ADRESSE alors je suis en V15
if
(
isset
(
$statutAutres
[
'DOSSIER_ADRESSE'
]))
{
//Alors je teste pour voir si pour le statut AUTRES aucun bloc de données perso est activé sinon je les désactive
return
(
$statutAutres
[
'DOSSIER_ADRESSE'
]
||
$statutAutres
[
'DOSSIER_CONTACT'
]
||
$statutAutres
[
'DOSSIER_IBAN'
]
||
...
...
@@ -37,6 +39,9 @@ class MigrationStatutAutres extends AbstractMigration
);
}
return
false
;
}
public
function
action
(
string
$contexte
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment