Make EditPage::tokenOK public for SemanticForms.
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 29 Aug 2014 16:56:47 +0000 (13:56 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 29 Aug 2014 17:04:13 +0000 (14:04 -0300)
This partially reverts a7fbdd6503ba981

Bug: 67522
Change-Id: Ia390975c3a46f1016567f1bcdabe3ec536bb6af6

includes/EditPage.php

index b83569d..c3b0dad 100644 (file)
@@ -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;