MDL-43293 Events: Added comments event in modules supporting comments
This commit is contained in:
@@ -1013,4 +1013,14 @@ $cache = '.var_export($cache, true).';
|
||||
opcache_invalidate($file, true);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Return true if subsystemname is core subsystem.
|
||||
*
|
||||
* @param string $subsystemname name of the subsystem.
|
||||
* @return bool true if core subsystem.
|
||||
*/
|
||||
public static function is_core_subsystem($subsystemname) {
|
||||
return isset(self::$subsystems[$subsystemname]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user