- Refactors sending queue worker by breaking it into smaller tasks
- Adds arrayUnique method to Helpers for multidimensional arrays
This commit is contained in:
@ -11,6 +11,9 @@ class StatisticsNewsletters extends Model {
|
||||
}
|
||||
|
||||
static function createMultiple($data) {
|
||||
if (count($data) % 3 !== 0) {
|
||||
return false;
|
||||
}
|
||||
return self::rawExecute(
|
||||
'INSERT INTO `' . self::$_table . '` ' .
|
||||
'(newsletter_id, subscriber_id, queue_id) ' .
|
||||
|
Reference in New Issue
Block a user