From: Brian Wolff Date: Fri, 29 Aug 2014 16:56:47 +0000 (-0300) Subject: Make EditPage::tokenOK public for SemanticForms. X-Git-Tag: 1.31.0-rc.0~14230^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=b6662ee1a07fbc83447039d26d8f66c60310419a;p=lhc%2Fweb%2Fwiklou.git Make EditPage::tokenOK public for SemanticForms. This partially reverts a7fbdd6503ba981 Bug: 67522 Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index b83569d8fe..c3b0dadec7 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -217,8 +217,13 @@ class EditPage { /** @var bool|stdClass */ protected $lastDelete; - /** @var bool */ - protected $mTokenOk = false; + /** @var bool + * This is public because SemanticForms uses it (bug 67522). + * However, please consider using this property publicly + * to be deprecated. + * @protected + */ + public $mTokenOk = false; /** @var bool */ protected $mTokenOkExceptSuffix = false;