X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPreferences.php;h=9f8c06b9bf964c6aea4b1d259ee8810557fcff8d;hb=6693958cd2928ab02e8f70f37907d13ecc6a2a92;hp=70addfcf905d0ec53cbe195637b33f00c1252e19;hpb=2e7f4e48735b0e916336d9166cb1ab1756e0fa9f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Preferences.php b/includes/Preferences.php index 70addfcf90..9f8c06b9bf 100644 --- 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->getRequest()->setSessionData( 'specialPreferencesSaveSuccess', 1 ); + $context->getRequest()->getSession()->set( 'specialPreferencesSaveSuccess', 1 ); $context->getOutput()->redirect( $url ); } @@ -1594,7 +1594,7 @@ class PreferencesForm extends HTMLForm { * Get extra parameters for the query string when redirecting after * successful save. * - * @return array() + * @return array */ public function getExtraSuccessRedirectParameters() { return [];