minor spacing fix
This commit is contained in:
@ -74,7 +74,7 @@ class Model extends \Sudzy\ValidModel {
|
|||||||
return self::bulkAction($orm, function($ids) use($model) {
|
return self::bulkAction($orm, function($ids) use($model) {
|
||||||
self::rawExecute(join(' ', array(
|
self::rawExecute(join(' ', array(
|
||||||
'UPDATE `'.$model::$_table.'`',
|
'UPDATE `'.$model::$_table.'`',
|
||||||
'SET `deleted_at`=NOW()',
|
'SET `deleted_at` = NOW()',
|
||||||
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')'
|
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')'
|
||||||
)),
|
)),
|
||||||
$ids
|
$ids
|
||||||
|
@ -195,7 +195,7 @@ class Segment extends Model {
|
|||||||
return parent::bulkAction($orm, function($ids) {
|
return parent::bulkAction($orm, function($ids) {
|
||||||
parent::rawExecute(join(' ', array(
|
parent::rawExecute(join(' ', array(
|
||||||
'UPDATE `'.self::$_table.'`',
|
'UPDATE `'.self::$_table.'`',
|
||||||
'SET `deleted_at`=NOW()',
|
'SET `deleted_at` = NOW()',
|
||||||
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
|
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
|
||||||
'AND `type` = "default"'
|
'AND `type` = "default"'
|
||||||
)), $ids);
|
)), $ids);
|
||||||
|
@ -599,7 +599,7 @@ class Subscriber extends Model {
|
|||||||
return parent::bulkAction($orm, function($ids) {
|
return parent::bulkAction($orm, function($ids) {
|
||||||
parent::rawExecute(join(' ', array(
|
parent::rawExecute(join(' ', array(
|
||||||
'UPDATE `'.self::$_table.'`',
|
'UPDATE `'.self::$_table.'`',
|
||||||
'SET `deleted_at`=NOW()',
|
'SET `deleted_at` = NOW()',
|
||||||
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
|
'WHERE `id` IN ('.rtrim(str_repeat('?,', count($ids)), ',').')',
|
||||||
'AND `wp_user_id` IS NULL'
|
'AND `wp_user_id` IS NULL'
|
||||||
)),
|
)),
|
||||||
|
Reference in New Issue
Block a user