Replace more self:: references in closures for PHP 5.3 [MAILPOET-821]

This commit is contained in:
Alexey Stoletniy
2017-02-16 11:22:26 +03:00
parent 3085ae575a
commit c994438fa8
2 changed files with 2 additions and 2 deletions

View File

@ -232,7 +232,7 @@ class Segment extends Model {
static function bulkTrash($orm) {
$count = parent::bulkAction($orm, function($ids) {
parent::rawExecute(join(' ', array(
Segment::rawExecute(join(' ', array(
'UPDATE `' . Segment::$_table . '`',
'SET `deleted_at` = NOW()',
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',