mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX: Correct RelatedPageLink permissions so that they appear properly in ComplexTableFields. (from r88969)
This commit is contained in:
parent
c0844e0dd9
commit
2b97d272f2
@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user