Fix phpcs
This commit is contained in:
parent
ca4716dfb7
commit
f9af7bc114
@ -61,7 +61,7 @@ if ($action == 'stopreminder') {
|
|||||||
$listofreminderidsarray = explode('-', GETPOST('listofreminderids', 'aZ09'));
|
$listofreminderidsarray = explode('-', GETPOST('listofreminderids', 'aZ09'));
|
||||||
|
|
||||||
// Set the reminder as done
|
// Set the reminder as done
|
||||||
foreach($listofreminderidsarray as $listofreminderid) {
|
foreach ($listofreminderidsarray as $listofreminderid) {
|
||||||
if (empty($listofreminderid)) continue;
|
if (empty($listofreminderid)) continue;
|
||||||
//$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'action_reminder WHERE rowid = '.$listofreminderid.' AND fk_user = '.$user->id;
|
//$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'action_reminder WHERE rowid = '.$listofreminderid.' AND fk_user = '.$user->id;
|
||||||
$sql = 'UPDATE '.MAIN_DB_PREFIX.'actioncomm_reminder SET status = 1';
|
$sql = 'UPDATE '.MAIN_DB_PREFIX.'actioncomm_reminder SET status = 1';
|
||||||
@ -72,7 +72,7 @@ if ($action == 'stopreminder') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
include_once(DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php');
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/date.lib.php';
|
||||||
|
|
||||||
// Clean database
|
// Clean database
|
||||||
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'actioncomm_reminder';
|
$sql = 'DELETE FROM '.MAIN_DB_PREFIX.'actioncomm_reminder';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user