Fixed forgotten method name change after last filesystem serving app merge

This commit is contained in:
Roberto Rosario
2011-03-03 10:24:20 -04:00
parent 470ff68332
commit 38cb463b7d

View File

@@ -8,6 +8,7 @@ from django.db import models
from django.utils.translation import ugettext_lazy as _
from django.db.models import Q
from filesystem_serving.api import document_delete_fs_links
from dynamic_search.api import register
@@ -144,7 +145,7 @@ class Document(models.Model):
def delete(self, *args, **kwargs):
#TODO: Might not execute when done in bulk from a queryset
#topics/db/queries.html#topics-db-queries-delete
self.delete_fs_links()
document_delete_fs_links(self)
super(Document, self).delete(*args, **kwargs)