witten
/
luminotes
Archived
1
0
Fork 0

Don't display recent notes on the main Luminotes notebook.

This commit is contained in:
Dan Helfman 2008-04-16 01:39:24 +00:00
parent 9fc3045b76
commit 456c1b5fb8
1 changed files with 2 additions and 1 deletions

View File

@ -131,6 +131,7 @@ class Notebooks( object ):
notebook = self.__database.load( Notebook, notebook_id )
if not notebook:
raise Access_error()
if notebook.name != u"Luminotes":
result[ "recent_notes" ] = self.__database.select_many( Note, notebook.sql_load_recent_notes( start = 0, count = 10 ) )
# if the user doesn't have any storage bytes yet, they're a new user, so see what type of