@@ -58,7 +58,7 @@ protected function define_my_steps() {
5858 * Define the contents in the activity that must be
5959 * processed by the link decoder
6060 */
61- static public function define_decode_contents () {
61+ public static function define_decode_contents () {
6262 $ contents = array ();
6363
6464 $ contents [] = new restore_decode_content ('moodleoverflow ' , array ('intro ' ), 'moodleoverflow ' );
@@ -71,7 +71,7 @@ static public function define_decode_contents() {
7171 * Define the decoding rules for links belonging
7272 * to the activity to be executed by the link decoder
7373 */
74- static public function define_decode_rules () {
74+ public static function define_decode_rules () {
7575 $ rules = array ();
7676
7777 $ rules [] = new restore_decode_rule ('MOODLEOVERFLOWVIEWBYID ' , '/mod/moodleoverflow/view.php?id=$1 ' , 'course_module ' );
@@ -99,7 +99,7 @@ static public function define_decode_rules() {
9999 * moodleoverflow logs. It must return one array
100100 * of {@link restore_log_rule} objects
101101 */
102- static public function define_restore_log_rules () {
102+ public static function define_restore_log_rules () {
103103 $ rules = array ();
104104
105105 $ rules [] = new restore_log_rule ('moodleoverflow ' , 'add ' ,
@@ -159,7 +159,7 @@ static public function define_restore_log_rules() {
159159 * by the restore final task, but are defined here at
160160 * activity level. All them are rules not linked to any module instance (cmid = 0)
161161 */
162- static public function define_restore_log_rules_for_course () {
162+ public static function define_restore_log_rules_for_course () {
163163 $ rules = array ();
164164
165165 $ rules [] = new restore_log_rule ('moodleoverflow ' , 'view all ' , 'index.php?id={course} ' , null );
0 commit comments