src/catedit/models.py
changeset 43 6d0e2523e17d
parent 40 8c32ea41b391
child 44 5ab922a46f13
--- a/src/catedit/models.py	Fri Feb 13 17:22:21 2015 +0100
+++ b/src/catedit/models.py	Mon Feb 16 15:13:39 2015 +0100
@@ -246,7 +246,7 @@
                               modification_dict=modified_cat_dict,
                               message=message)
 
-    def delete_category(self, deleted_cat_id, message=None):
+    def delete_category(self, deleted_cat_id):
         """
             Deletes a category from its id
 
@@ -257,8 +257,6 @@
             references to deleted category. This is handled in the api as such
             operations apply to the intermediary persistence (changeset)
         """
-        if message is None:
-            message = ""
         self.persistence.delete(name=deleted_cat_id, message=message)
         # Now we must clean up the categories that reference the deleted cat