From: Aaron Schulz Date: Sat, 17 Oct 2009 05:06:41 +0000 (+0000) Subject: Follow up r57846: tack on an error code X-Git-Tag: 1.31.0-rc.0~39252 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=9be4e7686c46f63de0253c9c8bcb11ebd3dfe3ba;p=lhc%2Fweb%2Fwiklou.git Follow up r57846: tack on an error code --- diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index 6b42a79fa7..6c17a61d33 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -1,3 +1,4 @@ + getId() ) { - $this->dieUsage( 'Specified user does not exist' ); + $this->dieUsage( 'Specified user does not exist', 'bad_wlowner' ); } $token = $user->getOption('watchlisttoken'); if ($token == '' || $token != $params['token']) {