Remove ScheduledTask::touchAllByIds method

[MAILPOET-4309]
This commit is contained in:
Jan Lysý
2022-08-16 11:45:11 +02:00
committed by Veljko V
parent fecb26b3b5
commit 5278ed324d

View File

@@ -129,14 +129,6 @@ class ScheduledTask extends Model {
return null; return null;
} }
public static function touchAllByIds(array $ids) {
ScheduledTask::rawExecute(
'UPDATE `' . ScheduledTask::$_table . '`' .
'SET `updated_at` = NOW() ' .
'WHERE `id` IN (' . join(',', $ids) . ')'
);
}
/** /**
* @return ScheduledTask|null * @return ScheduledTask|null
*/ */