File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ public function executePartialIndex( Mage_Index_Model_Process $process )
19
19
/** @var $resourceModel Mage_Index_Model_Resource_Process */
20
20
$ resourceModel = Mage::getResourceSingleton ('index/process ' );
21
21
22
- if (Mage::getStoreConfigFlag ('system/asyncindex/use_transations ' )) {
22
+ if (Mage::getStoreConfigFlag ('system/asyncindex/use_transactions ' )) {
23
23
$ resourceModel ->beginTransaction ();
24
24
}
25
25
@@ -39,13 +39,13 @@ public function executePartialIndex( Mage_Index_Model_Process $process )
39
39
if ( count (Mage::getResourceSingleton ('index/event ' )->getUnprocessedEvents ($ process )) === 0 ) {
40
40
$ process ->changeStatus ($ pendingMode );
41
41
}
42
- if (Mage::getStoreConfigFlag ('system/asyncindex/use_transations ' )) {
42
+ if (Mage::getStoreConfigFlag ('system/asyncindex/use_transactions ' )) {
43
43
$ resourceModel ->commit ();
44
44
}
45
45
}
46
46
catch (Exception $ e )
47
47
{
48
- if (Mage::getStoreConfigFlag ('system/asyncindex/use_transations ' )) {
48
+ if (Mage::getStoreConfigFlag ('system/asyncindex/use_transactions ' )) {
49
49
$ resourceModel ->rollBack ();
50
50
}
51
51
throw $ e ;
You can’t perform that action at this time.
0 commit comments