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:
stoletniy
2017-02-16 11:53:35 +03:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@ -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)), ',')