--- PloneboardComment.py	2006-03-15 18:46:31.667598192 +0100
+++ PloneboardComment_psol.py	2006-03-15 18:42:16.000000000 +0100
@@ -254,17 +254,17 @@
         """ """
         self._delObject(id)
         
-    security.declareProtected(ViewBoard, 'getAttachment')
+    security.declareProtected(AddAttachment, 'getAttachment')
     def getAttachment(self, id):
         """ """
         return getattr(self, id)
     
-    security.declareProtected(ViewBoard, 'getAttachments')
+    security.declareProtected(AddAttachment, 'getAttachments')
     def getAttachments(self):
         """ """
         return self.contentValues(filter={'portal_type':['File', 'Image']})
     
-    security.declareProtected(ViewBoard, 'getNumberOfAttachments')
+    security.declareProtected(AddAttachment, 'getNumberOfAttachments')
     def getNumberOfAttachments(self):
         return len(self.contentIds(filter={'portal_type':['File','Image']}))
     

