Transactions will remain closed after after fiscal year was reopened.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 26 Jan 2011 15:01:01 +0000 (15:01 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Wed, 26 Jan 2011 15:01:01 +0000 (15:01 +0000)
admin/db/fiscalyears_db.inc

index b14ce5bad49527f0579292e92d545c9c6bf5cef7..ba04017c64ef47d53cd0603daf66e37492457e44 100644 (file)
@@ -166,10 +166,6 @@ function open_year($year)
 {
        $myrow = get_fiscalyear($year);
        $from = sql2date($myrow['begin']);
-
-       begin_transaction();
-       open_transactions($from);
-       commit_transaction();
 }
 
 //---------------------------------------------------------------------------------------------