mirror of
https://github.com/documize/community.git
synced 2025-07-29 18:19:44 +02:00
Remove redundant code
This commit is contained in:
parent
9667e8c2a0
commit
f950075593
4 changed files with 2 additions and 9 deletions
|
@ -161,10 +161,6 @@ func (s Store) PublicDocuments(ctx domain.RequestContext, orgID string) (documen
|
|||
return
|
||||
}
|
||||
|
||||
/*
|
||||
FROM document d LEFT JOIN label l ON l.refid=d.labelid
|
||||
*/
|
||||
|
||||
// Update changes the given document record to the new values, updates search information and audits the action.
|
||||
func (s Store) Update(ctx domain.RequestContext, document doc.Document) (err error) {
|
||||
document.Revised = time.Now().UTC()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue