From e28fb439a61238a72f111d495e1b66c335894be7 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 16 Jul 2012 21:34:52 +0200 Subject: [PATCH] Added DMSDocument->delete() implemenetation to adhere to interface Teamcity's PHP complained about it being inherited from DataObject and declared abstract through the interface --- code/DMSDocument.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/DMSDocument.php b/code/DMSDocument.php index 90e7bdf..6574ae2 100644 --- a/code/DMSDocument.php +++ b/code/DMSDocument.php @@ -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