Commit b85d50a1 authored by Romain Therville's avatar Romain Therville 🐭
Browse files

Update to nG6_pi6.php, several useless error_log() have been removed.

Issue #192
parent 530ee80d
......@@ -198,14 +198,10 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
}
$log_file_path = tx_nG6_utils::get_log_path();
error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n all_purgeable_runs = ".print_r($all_purgeable_runs, TRUE), 3, $log_file_path);
#Add purge demand to get id
$purge_demand_id = tx_nG6_db::add_purge_demand($GLOBALS['TSFE']->fe_user->user['uid'],$project_id,$p[$project_id]["total_purgeable_size"],$all_purgeable_runs,$all_purgeable_analysis,$purge_user_id_to);
//error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n purge_demand_id = ".$purge_demand_id.' \n ', 3, $log_file_path);
error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n purge_demand_id = ".print_r($purge_demand_id,TRUE).' \n ', 3, $log_file_path);
if($purge_demand_id > 0){
#Build corresponding string array
......@@ -233,8 +229,6 @@ class tx_nG6_pi6 extends \TYPO3\CMS\Frontend\Plugin\AbstractPlugin {
}else{
$mail = tx_nG6_utils::get_multiple_purge_demand_mail($p[$project_id]["project_name"]);
//error_log(date("d/m/Y, h:i:s")." IN tx_nG6_pi6.php, 'add_purge_demand' \n mail = ".print_r($mail,TRUE).' \n ', 3, $log_file_path);
//We send the mail to ng6-support@groupes.renater.fr
//$to = $GLOBALS['TSFE']->tmpl->setup["plugin."]["tx_nG6_pi6."]["email_from"];
$to = 'get-plage.bioinfo@genotoul.fr, didier.laborie@inrae.fr';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment