mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-11 00:06:17 +08:00
yii\redis\ActiveRecord::deleteAll() refactoring - code style updated
This commit is contained in:
@@ -234,7 +234,7 @@ class ActiveRecord extends BaseActiveRecord
|
|||||||
public static function deleteAll($condition = null)
|
public static function deleteAll($condition = null)
|
||||||
{
|
{
|
||||||
$pks = self::fetchPks($condition);
|
$pks = self::fetchPks($condition);
|
||||||
if(empty($pks)) {
|
if (empty($pks)) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user