MDL-15402: add comments to the repository plugin_init() function

This commit is contained in:
jerome
2008-09-18 05:54:23 +00:00
parent e7f9f11635
commit 83a018ed67
2 changed files with 2 additions and 6 deletions
@@ -280,7 +280,7 @@ class repository_flickr_public extends repository {
}
/**
*
* is run when moodle administrator add the plugin
*/
public static function plugin_init() {
//here we create a default instance for this type
+1 -5
View File
@@ -904,13 +904,9 @@ abstract class repository {
}
/**
* function which is run when a type is created
* This should be a function from a type, but as I plugin wrtie, only write
* a class extended from repository class, the init() for type has been placed
* into the repository.
* function which is run when the type is created (moodle administrator add the plugin)
*/
public static function plugin_init(){
}
/**