From: Andrew Garrett Date: Thu, 28 May 2009 12:32:43 +0000 (+0000) Subject: Fix bug 18947 LiquidThreads thread renaming silently fails if user is not allowed... X-Git-Tag: 1.31.0-rc.0~41623 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=3192644753b4a28ef5a14b4079717381b75bbc8f;p=lhc%2Fweb%2Fwiklou.git Fix bug 18947 LiquidThreads thread renaming silently fails if user is not allowed to move pages. It now fails gracefully, but really I'd like to be able to disable that subject bar altogether instead of letting users change it only to be told off. --- diff --git a/docs/hooks.txt b/docs/hooks.txt index b529946cea..a8aa2d1330 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -665,6 +665,11 @@ $from: address of sending user $subject: subject of the mail $text: text of the mail +'EmailUserPermissionsErrors': to retrieve permissions errors for emailing a user. +$user: The user who is trying to email another user. +$editToken: The user's edit token. +&$hookErr: Out-param for the error. Passed as the parameters to OutputPage::showErrorPage. + 'FetchChangesList': When fetching the ChangesList derivative for a particular user &$user: User the list is being fetched for &$skin: Skin object to be used with the list