Skip to content

Migrate all the location status to bits #752

Description

@brendanheywood
  • 1 = in mdl_files
  • 2 = in filedir
  • 3 = in remote store

eg change all these:

define('OBJECT_LOCATION_ERROR', -1);
/**
* Location enum of the object
* LOCAL is when the object exists locally only.
*/
define('OBJECT_LOCATION_LOCAL', 0);
/**
* Location enum of the object
* DUPLICATED is when the object exists both locally, and remotely.
*/
define('OBJECT_LOCATION_DUPLICATED', 1);
/**
* Location enum of the object
* EXTERNAL is when when the object lives remotely only.
*/
define('OBJECT_LOCATION_EXTERNAL', 2);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions