mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05: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
1 changed files with 0 additions and 9 deletions
|
@ -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…
Add table
Reference in a new issue