public static function commitTransaction() { if (--self::$operationsStack === 0) { eZDB::instance()->commit(); } }