From 7fa9f113eee8c482baed82ee8ff4300d09984f26 Mon Sep 17 00:00:00 2001 From: resurtm Date: Mon, 13 May 2013 20:40:09 +0600 Subject: [PATCH] Fixed typo in internals/ar.md. --- docs/internals/ar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/internals/ar.md b/docs/internals/ar.md index 8b55dcb..dea40de 100644 --- a/docs/internals/ar.md +++ b/docs/internals/ar.md @@ -28,13 +28,13 @@ public function scenarios() // 4. insert and update operations will be wrapped with transaction, delete won't 'scenario4' => array( 'attributes' => array('attribute1', 'attribute2'), - 'atomic' => array(self::INSERT, self::UPDATE), + 'atomic' => array(self::OPERATION_INSERT, self::OPERATION_UPDATE), ), // 5. insert and update operations won't be wrapped with transaction, delete will 'scenario5' => array( 'attributes' => array('attribute1', 'attribute2'), - 'atomic' => array(self::DELETE), + 'atomic' => array(self::OPERATION_DELETE), ), ); }