Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes | Namespaces
check_subscriptions.php File Reference

Simple task class responsible for activating, deactivating and removing subscriptions. More...

Classes

class  tool_monitor\task\check_subscriptions
 

Namespaces

 tool_monitor\task
  
 

Detailed Description

Simple task class responsible for activating, deactivating and removing subscriptions.

Activation/deactivation is managed by looking at the same access rules used to determine whether a user can subscribe to the rule in the first place.

Removal occurs when a subscription has been inactive for a period of time exceeding the lifespan, as set by subscription_manager::get_inactive_subscription_lifespan().

I.e.

Since
3.2.0
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later