Remove debug code

This commit is contained in:
Zixaphir 2014-01-06 09:08:44 -07:00
parent 77d97277c9
commit a569565cff
3 changed files with 4 additions and 16 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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