]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15402: add comments to the repository plugin_init() function
authorjerome <jerome>
Thu, 18 Sep 2008 05:54:23 +0000 (05:54 +0000)
committerjerome <jerome>
Thu, 18 Sep 2008 05:54:23 +0000 (05:54 +0000)
repository/flickr_public/repository.class.php
repository/lib.php

index 2d4945f7c101fbaf8dd0b1a8dcb5937bd0f5aaf5..d52c18460ba05bc6aa339ae3218ce354da5c310a 100644 (file)
@@ -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
index 19d45ed4ab5f390a12b388c990848cc758aa2213..62cf8ac6bd6c661c999a779580b0b29a66308c0a 100644 (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(){
-
     }
 
     /**