Commit 168ffe41 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove unused artefact methods


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent de49a95f
...@@ -138,10 +138,6 @@ class ArtefactTypeBlog extends ArtefactType { ...@@ -138,10 +138,6 @@ class ArtefactTypeBlog extends ArtefactType {
} }
} }
public function is_container() {
return true;
}
/** /**
* This function updates or inserts the artefact. This involves putting * This function updates or inserts the artefact. This involves putting
* some data in the artefact table (handled by parent::commit()), and then * some data in the artefact table (handled by parent::commit()), and then
......
...@@ -370,10 +370,6 @@ abstract class ArtefactType { ...@@ -370,10 +370,6 @@ abstract class ArtefactType {
} }
} }
public function is_container() {
return false;
}
/** /**
* This method updates the contents of the artefact table only. If your * This method updates the contents of the artefact table only. If your
* artefact has extra information in other tables, you need to override * artefact has extra information in other tables, you need to override
...@@ -635,16 +631,6 @@ abstract class ArtefactType { ...@@ -635,16 +631,6 @@ abstract class ArtefactType {
} }
/**
* By default public feedback can be placed on all artefacts.
* Artefact types which don't want to allow public feedback should
* redefine this function.
*/
public function public_feedback_allowed() {
return true;
}
/** /**
* By default users are notified of all feedback on artefacts * By default users are notified of all feedback on artefacts
* which they own. Artefact types which want to allow this * which they own. Artefact types which want to allow this
...@@ -687,13 +673,6 @@ abstract class ArtefactType { ...@@ -687,13 +673,6 @@ abstract class ArtefactType {
*/ */
public static abstract function is_singular(); public static abstract function is_singular();
/**
* Whether the 'note' field is for the artefact's private use
*/
public static function is_note_private() {
return false;
}
/** /**
* Returns a list of key => value pairs where the key is either '_default' * Returns a list of key => value pairs where the key is either '_default'
* or a langauge string, and value is a URL linking to that behaviour for * or a langauge string, and value is a URL linking to that behaviour for
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment