Phuedx has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/234507

Change subject: Include the name of the survey in the spec
......................................................................

Include the name of the survey in the spec

We store the per-survey token against a key that is derived from the
survey's name.

Bug: T107589
Change-Id: Ia7153eee61ec26ea310fdb76b0fea7c0b272ea69
---
M includes/Survey.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/QuickSurveys 
refs/changes/07/234507/1

diff --git a/includes/Survey.php b/includes/Survey.php
index 354fca7..06c413a 100644
--- a/includes/Survey.php
+++ b/includes/Survey.php
@@ -75,6 +75,7 @@
         */
        public function toArray() {
                return array(
+                       'name' => $this->name,
                        'question' => $this->question,
                        'description' => $this->description,
                        'module' => $this->getResourceLoaderModuleName(),

-- 
To view, visit https://gerrit.wikimedia.org/r/234507
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia7153eee61ec26ea310fdb76b0fea7c0b272ea69
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/QuickSurveys
Gerrit-Branch: dev
Gerrit-Owner: Phuedx <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to