Skip to content

Node.js based forum software built for the modern web

318 B
Raw Blame
'use strict';

const db = require('../../database');


module.exports = {
	name: 'Adding theme to active plugins sorted set',
	timestamp: Date.UTC(2015, 11, 23),
	method: async function () {
		const themeId = await db.getObjectField('config', 'theme:id');
		await db.sortedSetAdd('plugins:active', 0, themeId);
	},
};