Removed hard-coded members lab flag for theme

no issue

- Removed hard-coded setting to switch on members flag in labs based on developer flag
This commit is contained in:
Rish 2019-03-21 13:56:46 +05:30
parent 51151e9e9e
commit 394c8b7650

View File

@ -50,15 +50,6 @@ themeMiddleware.updateTemplateData = function updateTemplateData(req, res, next)
labsData = _.cloneDeep(settingsCache.get('labs')),
themeData = {};
/**
* TODO: Uses hard-check for members prototype, removed here when added to settings
*/
if (config.get('enableDeveloperExperiments')) {
Object.assign(labsData, {
members: true
});
}
if (activeTheme.get()) {
themeData.posts_per_page = activeTheme.get().config('posts_per_page');
themeData.image_sizes = activeTheme.get().config('image_sizes');