Skip to content

Commit 152fe5f

Browse files
committed
Remove obsolete code
Code was identical with the default implementation in `AbstractAttachmentObjectType`
1 parent 9163623 commit 152fe5f

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

wcfsetup/install/files/lib/system/attachment/ContactAttachmentObjectType.class.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ public function canDownload($objectID)
6464
return true;
6565
}
6666

67-
/**
68-
* @inheritDoc
69-
*/
70-
public function canViewPreview($objectID)
71-
{
72-
return $this->canDownload($objectID);
73-
}
74-
7567
/**
7668
* @inheritDoc
7769
*/

wcfsetup/install/files/lib/system/attachment/SignatureAttachmentObjectType.class.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ public function canDownload($objectID)
4747
return $this->canAddUser();
4848
}
4949

50-
/**
51-
* @inheritDoc
52-
*/
53-
public function canViewPreview($objectID)
54-
{
55-
return $this->canDownload($objectID);
56-
}
57-
5850
/**
5951
* @inheritDoc
6052
*/

0 commit comments

Comments
 (0)