Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
4b72adb5
Commit
4b72adb5
authored
Nov 12, 2019
by
Romain Therville
🐭
Browse files
Merge branch 'issue#120' into 'master'
Merge branch issue#120 with master See merge request
!64
parents
5687a776
5564e891
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_utils.php
View file @
4b72adb5
...
@@ -288,12 +288,10 @@ please have a look at our storage fees (<a href="###URL_PRICE###">###URL_PRICE##
...
@@ -288,12 +288,10 @@ please have a look at our storage fees (<a href="###URL_PRICE###">###URL_PRICE##
static
function
get_retention_policy_from_space_id
(
$space_id
=
"default"
){
static
function
get_retention_policy_from_space_id
(
$space_id
=
"default"
){
$config_file_content
=
tx_nG6_utils
::
get_config_content
(
"default"
);
$config_file_content
=
tx_nG6_utils
::
get_config_content
(
"default"
);
//file_put_contents("/work/ng6-test/jflow_rtherville/ng6_php.log", "tx_nG6_utils, get_retention_policy_from_space_id(), config_file_content: \n".$config_file_content."\n", FILE_APPEND);
//To explode the file content by line, we use PHP_EOL
//To explode the file content by line, we use PHP_EOL
$array_config_content
=
explode
(
PHP_EOL
,
$config_file_content
);
$array_config_content
=
explode
(
PHP_EOL
,
$config_file_content
);
//file_put_contents("/work/ng6-test/jflow_rtherville/ng6_php.log", "tx_nG6_utils, get_retention_policy_from_space_id(), array_config_content: \n".print_r($array_config_content,TRUE)."\n", FILE_APPEND);
$space_id_retention_config
=
array
();
$space_id_retention_config
=
array
();
$pattern_to_find
=
"[space_"
.
$space_id
.
"]"
;
$pattern_to_find
=
"[space_"
.
$space_id
.
"]"
;
$is_space_id_found
=
FALSE
;
$is_space_id_found
=
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment