Update documentation for the updatePad and createPad hooks to include 'author'

in the context.
pull/2699/head
Xavid 2015-06-21 11:34:59 -04:00
parent a4fe0d0dc8
commit bc78e0c68d
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
2. author - the id of the author who created the pad
This hook gets called when a new pad was created.
@ -128,6 +129,7 @@ Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
2. author - the id of the author who updated the pad
This hook gets called when an existing pad was updated.