Commit 5655a5fc by savvot

yii\redis\ActiveRecord::deleteAll() refactoring - code style updated

parent 3aceaa01
......@@ -234,7 +234,7 @@ class ActiveRecord extends BaseActiveRecord
public static function deleteAll($condition = null)
{
$pks = self::fetchPks($condition);
if(empty($pks)) {
if (empty($pks)) {
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment