BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969)

This commit is contained in:
Tom Rix 2010-03-01 21:28:10 +00:00
parent c0844e0dd9
commit 2b97d272f2

View File

@ -67,6 +67,17 @@ class RelatedPageLink extends DataObject {
function RelatedPageAdminLink() {
return '<a href="admin/show/' . $this->RelatedPage()->ID . '" class="externallink" >' . Convert::raw2xml($this->RelatedPage()->Title) . '</a>';
}
/*
function canView($member = null) {
return $this->MasterPage()->canView($member);
}
function canEdit($member = null) {
return $this->MasterPage()->canView($member);
}
function canDelete($member = null) {
return $this->MasterPage()->canDelete($member);
}
*/
}
?>