We don't need this


/**
 * A bit flag used to let us know if a configuration is the same in both the
 * activestore and the datastore.
 */
define('CONFIGURATION_IN_SYNC', 0x0000);

/**
 * A bit flag used to let us know if a configuration was overridden as a result
 * of changing the activestore directly. (config changes via the UI)
 */
define('CONFIGURATION_ACTIVESTORE_OVERRIDDEN', 0x0001);

/**
 * A bit flag used to let us know if a configuration is not currently being
 * tracked.
 */
define('CONFIGURATION_ACTIVESTORE_ONLY', 0X0200);

/**
 * A bit flag used to let us know if a configuration is only in the datastore.
 */
define('CONFIGURATION_DATASTORE_ONLY', 0x0008);

In the configuration.module file, just define they as constants of the Configuration class.

Comments

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new4.59 KB

Renamed some constants to make them more meaningful.

Status: Needs review » Needs work

The last submitted patch, 1859174.constants.1.patch, failed testing.

dagmar’s picture

Status: Needs work » Needs review
StatusFileSize
new5.38 KB
dagmar’s picture

Status: Needs review » Fixed

Committed & Pushed to 7.x-2.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.