From: Sam Reed Date: Sat, 14 Jan 2012 23:45:21 +0000 (+0000) Subject: * (bug 33733) API: Unknown error: mustbeloggedin X-Git-Tag: 1.31.0-rc.0~25261 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=81ef87f61a638d93de686b5572e49fe30e8cd830;p=lhc%2Fweb%2Fwiklou.git * (bug 33733) API: Unknown error: mustbeloggedin Add message to messagemap --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 2cda312987..133339a1b3 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -1236,6 +1236,8 @@ abstract class ApiBase extends ContextSource { 'filename-toolong' => array( 'code' => 'filename-toolong', 'info' => 'The filename is too long' ), 'illegal-filename' => array( 'code' => 'illegal-filename', 'info' => 'The filename is not allowed' ), 'filetype-missing' => array( 'code' => 'filetype-missing', 'info' => 'The file is missing an extension' ), + + 'mustbeloggedin' => array( 'code' => 'mustbeloggedin', 'info' => 'You must be logged in to $1.' ) ); /**