Remove debug code
This commit is contained in:
parent
77d97277c9
commit
a569565cff
@ -9715,14 +9715,10 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ID = post.ID;
|
ID = post.ID;
|
||||||
|
posts.rm(ID);
|
||||||
if (Conf['Mark Quotes of You'] && post.info.yours) {
|
if (Conf['Mark Quotes of You'] && post.info.yours) {
|
||||||
QuoteYou.lastRead = post.nodes.root;
|
QuoteYou.lastRead = post.nodes.root;
|
||||||
}
|
}
|
||||||
posts.rm(ID);
|
|
||||||
if (post === posts.first) {
|
|
||||||
c.log(posts);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!ID) {
|
if (!ID) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -9698,14 +9698,10 @@
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ID = post.ID;
|
ID = post.ID;
|
||||||
|
posts.rm(ID);
|
||||||
if (Conf['Mark Quotes of You'] && post.info.yours) {
|
if (Conf['Mark Quotes of You'] && post.info.yours) {
|
||||||
QuoteYou.lastRead = post.nodes.root;
|
QuoteYou.lastRead = post.nodes.root;
|
||||||
}
|
}
|
||||||
posts.rm(ID);
|
|
||||||
if (post === posts.first) {
|
|
||||||
c.log(posts);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (!ID) {
|
if (!ID) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -142,15 +142,11 @@ Unread =
|
|||||||
{posts} = Unread
|
{posts} = Unread
|
||||||
while post = posts.first
|
while post = posts.first
|
||||||
break unless Header.getBottomOf(post.nodes.root) > -1 # post is not completely read
|
break unless Header.getBottomOf(post.nodes.root) > -1 # post is not completely read
|
||||||
|
|
||||||
{ID} = post
|
{ID} = post
|
||||||
if Conf['Mark Quotes of You'] and post.info.yours
|
|
||||||
QuoteYou.lastRead = post.nodes.root
|
|
||||||
posts.rm ID
|
posts.rm ID
|
||||||
|
|
||||||
if post is posts.first
|
if Conf['Mark Quotes of You'] and post.info.yours
|
||||||
c.log posts
|
QuoteYou.lastRead = post.nodes.root
|
||||||
break
|
|
||||||
|
|
||||||
return unless ID
|
return unless ID
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user