mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
removed the fields
This commit is contained in:
@@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn btn-sm btn-default follow main-post" type="button" title="Be notified of new replies in this topic"><i class="fa fa-eye"></i></button>
|
<button class="btn btn-sm btn-default follow main-post" type="button" title="Be notified of new replies in this topic"><i class="fa fa-eye"></i></button>
|
||||||
<button class="favourite btn btn-sm btn-default <!-- IF posts.favourited --> btn-warning <!-- ENDIF posts.favourited -->" type="button">
|
<button class="favourite btn btn-sm btn-default " type="button">
|
||||||
<span class="favourite-text">[[topic:favourite]]</span>
|
<span class="favourite-text">[[topic:favourite]]</span>
|
||||||
<span class="post_rep_{posts.pid}">{posts.reputation} </span>
|
<span class="post_rep_{posts.pid}">{posts.reputation} </span>
|
||||||
|
|
||||||
|
|||||||
@@ -55,14 +55,6 @@ var RDB = require('./redis'),
|
|||||||
'editor': '',
|
'editor': '',
|
||||||
'edited': 0,
|
'edited': 0,
|
||||||
'deleted': 0
|
'deleted': 0
|
||||||
//TODO : write upgrade script to remove these fields from the database -barisu
|
|
||||||
//'fav_button_class': '',
|
|
||||||
//'fav_star_class': 'fa-star-o',
|
|
||||||
//'show_banned': 'hide',
|
|
||||||
//'relativeTime': new Date(timestamp).toISOString(),
|
|
||||||
//'post_rep': '0',
|
|
||||||
//'edited-class': 'none',
|
|
||||||
//'relativeEditTime': ''
|
|
||||||
};
|
};
|
||||||
|
|
||||||
RDB.hmset('post:' + pid, postData);
|
RDB.hmset('post:' + pid, postData);
|
||||||
|
|||||||
Reference in New Issue
Block a user