From: Sam Reed Date: Sat, 9 Oct 2010 13:59:15 +0000 (+0000) Subject: Not sure why watch was marked as deprecated, but unwatch wasn't... Marking unwatch... X-Git-Tag: 1.31.0-rc.0~34568 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=c1f84d0cef285d9b3cda7aef13fa809d2797605d;p=lhc%2Fweb%2Fwiklou.git Not sure why watch was marked as deprecated, but unwatch wasn't... Marking unwatch deprecated --- diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 714b35878d..bfae025b64 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -228,7 +228,10 @@ class ApiDelete extends ApiBase { 'nochange' ), ), - 'unwatch' => false, + 'unwatch' => array( + ApiBase::PARAM_DFLT => false, + ApiBase::PARAM_DEPRECATED => true, + ), 'oldimage' => null ); }