Why is assign:cron() a static function? (Moodle 2.5)

Why is assign:cron() a static function? (Moodle 2.5)

by Russell England -
Number of replies: 0
Picture of Plugin developers

Why is assign:cron() a static function? (Moodle 2.5)

/mod/assign/locallib.php 
public static function cron()

The rest of the Moodle code uses non static cron functions

public function cron()

It makes it very difficult to use $this for custom code.

Average of ratings: -