mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 05:37:34 +03:00
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:
parent
51151e9e9e
commit
394c8b7650
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user