Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
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

namespace  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