芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/enrol/paypal/classes/task/process_expirations.php
. /** * Process expirations task. * * @package enrol_paypal * @author Farhan Karmali
* @copyright Farhan Karmali * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace enrol_paypal\task; defined('MOODLE_INTERNAL') || die(); /** * Process expirations task. * * @package enrol_paypal * @author Farhan Karmali
* @copyright Farhan Karmali * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class process_expirations extends \core\task\scheduled_task { /** * Name for this task. * * @return string */ public function get_name() { return get_string('processexpirationstask', 'enrol_paypal'); } /** * Run task for processing expirations. */ public function execute() { $enrol = enrol_get_plugin('paypal'); $trace = new \text_progress_trace(); $enrol->process_expirations($trace); } }