Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
168ffe41
Commit
168ffe41
authored
Mar 22, 2010
by
Richard Mansfield
Browse files
Remove unused artefact methods
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
de49a95f
Changes
2
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/blog/lib.php
View file @
168ffe41
...
...
@@ -138,10 +138,6 @@ class ArtefactTypeBlog extends ArtefactType {
}
}
public
function
is_container
()
{
return
true
;
}
/**
* This function updates or inserts the artefact. This involves putting
* some data in the artefact table (handled by parent::commit()), and then
...
...
htdocs/artefact/lib.php
View file @
168ffe41
...
...
@@ -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
* artefact has extra information in other tables, you need to override
...
...
@@ -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
* which they own. Artefact types which want to allow this
...
...
@@ -687,13 +673,6 @@ abstract class ArtefactType {
*/
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'
* or a langauge string, and value is a URL linking to that behaviour for
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment