dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Balancer: Add a bunch of phpdoc and 2 fixmes"
[lhc/web/wiklou.git]
/
includes
/
Preferences.php
diff --git
a/includes/Preferences.php
b/includes/Preferences.php
index
70addfc
..
9f8c06b
100644
(file)
--- a/
includes/Preferences.php
+++ b/
includes/Preferences.php
@@
-1494,7
+1494,7
@@
class Preferences {
$context = $form->getContext();
// Set session data for the success message
$context = $form->getContext();
// Set session data for the success message
- $context->getRequest()->
setSessionData
( 'specialPreferencesSaveSuccess', 1 );
+ $context->getRequest()->
getSession()->set
( 'specialPreferencesSaveSuccess', 1 );
$context->getOutput()->redirect( $url );
}
$context->getOutput()->redirect( $url );
}
@@
-1594,7
+1594,7
@@
class PreferencesForm extends HTMLForm {
* Get extra parameters for the query string when redirecting after
* successful save.
*
* Get extra parameters for the query string when redirecting after
* successful save.
*
- * @return array
()
+ * @return array
*/
public function getExtraSuccessRedirectParameters() {
return [];
*/
public function getExtraSuccessRedirectParameters() {
return [];