Commit 7848e2d8 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fixed copy/paste error in catalog method installation.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3687 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d545afba
......@@ -471,14 +471,14 @@ class CatalogMethodTemplateItem(ObjectTemplateItem):
elif not is_catalog_list_method and method_id in sql_catalog_object_list:
sql_catalog_object_list.remove(method_id)
if is_update_method and method_id not in sql_uncatalog_object:
if is_uncatalog_method and method_id not in sql_uncatalog_object:
sql_uncatalog_object.append(method_id)
elif not is_update_method and method_id in sql_uncatalog_object:
elif not is_uncatalog_method and method_id in sql_uncatalog_object:
sql_uncatalog_object.remove(method_id)
if is_uncatalog_method and method_id not in sql_update_object:
if is_update_method and method_id not in sql_update_object:
sql_update_object.append(method_id)
elif not is_uncatalog_method and method_id in sql_update_object:
elif not is_update_method and method_id in sql_update_object:
sql_update_object.remove(method_id)
if is_clear_method and method_id not in sql_clear_catalog:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment