MOBILE-3833 course: Deprecate skipListStatus on prefetch handlers
parent
5c3fe58ed7
commit
be8ed25daa
|
@ -31,7 +31,6 @@ export class AddonModLabelPrefetchHandlerService extends CoreCourseResourcePrefe
|
||||||
modName = 'label';
|
modName = 'label';
|
||||||
component = AddonModLabelProvider.COMPONENT;
|
component = AddonModLabelProvider.COMPONENT;
|
||||||
updatesNames = /^.*files$/;
|
updatesNames = /^.*files$/;
|
||||||
skipListStatus = true;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
|
|
|
@ -47,12 +47,6 @@ export class CoreCourseModulePrefetchHandlerBase implements CoreCourseModulePref
|
||||||
*/
|
*/
|
||||||
updatesNames = /^.*files$/;
|
updatesNames = /^.*files$/;
|
||||||
|
|
||||||
/**
|
|
||||||
* If true, this module will be ignored when determining the status of a list of modules. The module will
|
|
||||||
* still be downloaded when downloading the section/course, it only affects whether the button should be displayed.
|
|
||||||
*/
|
|
||||||
skipListStatus = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of download promises to prevent downloading the module twice at the same time.
|
* List of download promises to prevent downloading the module twice at the same time.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1361,8 +1361,10 @@ export interface CoreCourseModulePrefetchHandler extends CoreDelegateHandler {
|
||||||
/**
|
/**
|
||||||
* If true, this module will be treated as not downloadable when determining the status of a list of modules. The module will
|
* If true, this module will be treated as not downloadable when determining the status of a list of modules. The module will
|
||||||
* still be downloaded when downloading the section/course, it only affects whether the button should be displayed.
|
* still be downloaded when downloading the section/course, it only affects whether the button should be displayed.
|
||||||
|
*
|
||||||
|
* @depracated since app 4.0.
|
||||||
*/
|
*/
|
||||||
skipListStatus: boolean;
|
skipListStatus?: boolean;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the download size of a module.
|
* Get the download size of a module.
|
||||||
|
|
Loading…
Reference in New Issue