From: umherirrender Date: Sun, 20 Sep 2015 08:25:03 +0000 (+0200) Subject: Fix hook documentation for ImagePageFileHistoryLine X-Git-Tag: 1.31.0-rc.0~9826^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=25f07b45ab37ef3f3ac3ed67b7d7c9656eb3d451;p=lhc%2Fweb%2Fwiklou.git Fix hook documentation for ImagePageFileHistoryLine The first parameter was not in documentation. Follows 4bb299cbce4cc0dffe3f9cda30e12c4cad3b2279 (r34948) Change-Id: I8b406fae2483725e18b6f7065ee0fa8f164df1f2 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 54ab46c171..4ae6aa8248 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1579,9 +1579,10 @@ $imagePage: ImagePage object ($this) &$html: HTML for the hook to add 'ImagePageFileHistoryLine': Called when a file history line is constructed. +$imagePage: ImagePage object ($this) $file: the file -$line: the HTML of the history line -$css: the line CSS class +&$line: the HTML of the history line +&$css: the line CSS class 'ImagePageFindFile': Called when fetching the file associated with an image page.