Don't hard-code Preferences page name
authorSam Wilson <sam@samwilson.id.au>
Mon, 21 Aug 2017 02:08:32 +0000 (10:08 +0800)
committerSam Wilson <sam@samwilson.id.au>
Mon, 21 Aug 2017 22:27:34 +0000 (06:27 +0800)
commit2a416c57d59997893b2e6345c85743c6f3b06552
tree8c64c6b8dbed5e6f1b879abfd90e4eced387078f
parent3ebc79c08a9832e26147d5b27967ca9668b80328
Don't hard-code Preferences page name

This fixes the restore-prefs link by switching to use whatever
the current title of the PreferencesForm is.

Bug: T173682
Change-Id: I67a13269a63f719a011a2d59a07493d9eb6b653b
includes/Preferences.php