fixed slug issue with topics

v1.18.x
psychobunny 12 years ago
parent f9e015f194
commit 11ad3a867e

@ -37,13 +37,6 @@
posts: 'tid:' + tid + ':posts',
queued_tids: 'topics:queued:tid',
slug: function(slug) {
return {
tid: 'topic:slug:' + slug + ':tid'
}
}
}
};

@ -329,7 +329,7 @@ marked.setOptions({
RDB.set(schema.topics(tid).slug, slug);
RDB.set(schema.topics(tid).timestamp, new Date().getTime());
RDB.set(schema.topics().slug(slug).tid, tid);
RDB.set('topic:slug:' + slug + ':tid', tid);
// Posts
posts.create(uid, tid, content, function(pid) {

Loading…
Cancel
Save