Example #1
0
 def delete_taskcomment(self, taskcoment_id, modifier_id):
     taskcomment = TaskComment.get_by_key(taskcoment_id)
     if taskcomment.creator_id != modifier_id:
         raise Error("task_error_deleteotherstaskcomment")
     if taskcomment.creator_id != modifier_id:
         raise Error("")
     taskcomment.delete(modifier_id)
     return True