mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
Added DMSDocument->delete() implemenetation to adhere to interface
Teamcity's PHP complained about it being inherited from DataObject and declared abstract through the interface
This commit is contained in:
parent
2068a6d590
commit
e28fb439a6
@ -5,6 +5,10 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
|
||||
"Filename" => "Text",
|
||||
);
|
||||
|
||||
function delete() {
|
||||
parent::delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* Associates this document with a Page. This method does nothing if the association already exists.
|
||||
* This could be a simple wrapper around $myDoc->Pages()->add($myPage) to add a has_many relation
|
||||
|
Loading…
Reference in New Issue
Block a user