diff options
author | Sam Reed <reedy@users.mediawiki.org> | 2010-05-25 20:46:09 +0000 |
---|---|---|
committer | Sam Reed <reedy@users.mediawiki.org> | 2010-05-25 20:46:09 +0000 |
commit | 50b88a5b1b62829b211224cb128e014c7a1fa7d7 (patch) | |
tree | efb19fb550503f2c21ac7a26d63b1ccf2c258824 /includes/api/ApiWatch.php | |
parent | 9958d84dca7e7e304ec966e7fe1097936a8b58cd (diff) | |
download | mediawikicore-50b88a5b1b62829b211224cb128e014c7a1fa7d7.tar.gz mediawikicore-50b88a5b1b62829b211224cb128e014c7a1fa7d7.zip |
Remove arrays from getDescription where we are only using 1 line
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/66893
Diffstat (limited to 'includes/api/ApiWatch.php')
-rw-r--r-- | includes/api/ApiWatch.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 60c95d0a6a65..e9db6980b3f3 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -89,9 +89,7 @@ class ApiWatch extends ApiBase { } public function getDescription() { - return array( - 'Add or remove a page from/to the current user\'s watchlist' - ); + return 'Add or remove a page from/to the current user\'s watchlist'; } public function getPossibleErrors() { |