This reverts commit fdf58326
@@ -114,8 +114,7 @@ class Model extends Base\Model
}
$model = new static();
/** @var Connection $database */
$database = Kiri::app()->get($model->getConnection());
$database = $model->getConnection();
$database->beginTransaction();
try {
/** @var static $select */
The note is not visible to the blocked user.