Merge pull request #821 from mailpoet/php53_fix
Replaces references to self::$variable with Class:$variable for PHP 5.3 hosts [MAILPOET-821]
This commit is contained in:
@ -731,8 +731,8 @@ class Subscriber extends Model {
|
||||
|
||||
static function bulkTrash($orm) {
|
||||
$count = parent::bulkAction($orm, function($subscriber_ids) {
|
||||
self::rawExecute(join(' ', array(
|
||||
'UPDATE `'.self::$_table.'`',
|
||||
Subscriber::rawExecute(join(' ', array(
|
||||
'UPDATE `' . Subscriber::$_table . '`',
|
||||
'SET `deleted_at` = NOW()',
|
||||
'WHERE `id` IN ('.
|
||||
rtrim(str_repeat('?,', count($subscriber_ids)), ',')
|
||||
|
Reference in New Issue
Block a user