X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=sql%2FPg-upgrade2%2Frequirement_specs.sql;h=be7acb5e27519de8a12dcc1d95b76448174d1909;hb=c5057972d03f3546494fabe72224785e5a0a1714;hp=2589e4ec5cf554d39575ccab047299cce8a2f05e;hpb=6aa0427f24b81337089f4706fda5661b166b8268;p=kivitendo-erp.git diff --git a/sql/Pg-upgrade2/requirement_specs.sql b/sql/Pg-upgrade2/requirement_specs.sql index 2589e4ec5..be7acb5e2 100644 --- a/sql/Pg-upgrade2/requirement_specs.sql +++ b/sql/Pg-upgrade2/requirement_specs.sql @@ -1,7 +1,6 @@ -- @tag: requirement_specs -- @description: Pflichtenhefte -- @depends: release_3_0_0 --- @charset: utf-8 -- Nur für Entwicklungszwecke: @@ -280,9 +279,9 @@ CREATE OR REPLACE FUNCTION update_requirement_spec_item_time_estimation(item_id SELECT * INTO item FROM requirement_spec_items WHERE id = item_id; RAISE DEBUG 'updateRSIE: item_id % item_type %', item_id, item.item_type; - IF (item.item_type = 'section') OR (item.item_type = 'sub-function-block') THEN - -- Don't do anything for sections and sub-function-blocks. - RAISE DEBUG 'updateRSIE: this is a section/sub-function-block, not updating.'; + IF (item.item_type = 'sub-function-block') THEN + -- Don't do anything for sub-function-blocks. + RAISE DEBUG 'updateRSIE: this is a sub-function-block, not updating.'; RETURN FALSE; END IF;