Skip to content
GitLab
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
baf12054
Commit
baf12054
authored
Jan 10, 2020
by
Romain Therville
☕
Browse files
Update to tx_nG6_db.php
I removed two useless comments, that I left for no reason. issue
#151
parent
c5f5c618
Changes
1
Hide whitespace changes
Inline
Side-by-side
ui/nG6/lib/class.tx_nG6_db.php
View file @
baf12054
...
@@ -171,8 +171,6 @@ class tx_nG6_db {
...
@@ -171,8 +171,6 @@ class tx_nG6_db {
//Get list of obsolete run/analyses per project
//Get list of obsolete run/analyses per project
static
function
filter_list_retention_data_info
(
$filter_space
,
$max_retention_date
,
$create_user_id
,
$without_user_group_id
,
$with_user_group_id
)
{
static
function
filter_list_retention_data_info
(
$filter_space
,
$max_retention_date
,
$create_user_id
,
$without_user_group_id
,
$with_user_group_id
)
{
//file_put_contents("/work/ng6-test/jflow_rtherville/ng6_php.log","IN tx_nG6_db.php, Hello!", FILE_APPEND);
$conditions
=
Array
();
$conditions
=
Array
();
//filter by date
//filter by date
if
(
$max_retention_date
!=
""
)
{
if
(
$max_retention_date
!=
""
)
{
...
@@ -197,9 +195,7 @@ class tx_nG6_db {
...
@@ -197,9 +195,7 @@ class tx_nG6_db {
}
}
$where
=
join
(
' AND '
,
$conditions
);
$where
=
join
(
' AND '
,
$conditions
);
//file_put_contents("/work/ng6-test/jflow_rtherville/ng6_php.log","IN tx_nG6_db.php, returned=".print_r(tx_nG6_db::select_list_retention_data_info($where),TRUE), FILE_APPEND);
return
(
tx_nG6_db
::
select_list_retention_data_info
(
$where
));
return
(
tx_nG6_db
::
select_list_retention_data_info
(
$where
));
}
}
static
function
select_a_project_retention_data_info
(
$project_id
=
null
,
$all
=
FALSE
,
$count_hidden
=
FALSE
)
{
static
function
select_a_project_retention_data_info
(
$project_id
=
null
,
$all
=
FALSE
,
$count_hidden
=
FALSE
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment