minor spacing fix

This commit is contained in:
Jonathan Labreuille
2016-05-20 18:39:34 +02:00
parent d10a29598d
commit ceebb18bdf
3 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ class Model extends \Sudzy\ValidModel {
return self::bulkAction($orm, function($ids) use($model) {
self::rawExecute(join(' ', array(
'UPDATE `'.$model::$_table.'`',
'SET `deleted_at`=NOW()',
'SET `deleted_at` = NOW()',
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')'
)),
$ids

View File

@ -195,7 +195,7 @@ class Segment extends Model {
return parent::bulkAction($orm, function($ids) {
parent::rawExecute(join(' ', array(
'UPDATE `'.self::$_table.'`',
'SET `deleted_at`=NOW()',
'SET `deleted_at` = NOW()',
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
'AND `type` = "default"'
)), $ids);

View File

@ -599,7 +599,7 @@ class Subscriber extends Model {
return parent::bulkAction($orm, function($ids) {
parent::rawExecute(join(' ', array(
'UPDATE `'.self::$_table.'`',
'SET `deleted_at`=NOW()',
'SET `deleted_at` = NOW()',
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
'AND `wp_user_id` IS NULL'
)),