Index: branches/salvatoreingala/Gadgets/backend/GadgetHooks.php |
— | — | @@ -181,9 +181,7 @@ |
182 | 182 | $m = array(); |
183 | 183 | if ( preg_match( '/gadget-([a-zA-Z](?:[-_:.\w\d ]*[a-zA-Z0-9])?)-config/', $option, $m ) ) { |
184 | 184 | $gadgetName = $m[1]; |
185 | | - wfSuppressWarnings(); |
186 | 185 | $gadgetPrefs = unserialize( $value ); |
187 | | - wfRestoreWarnings(); |
188 | 186 | if ( $gadgetPrefs !== false ) { |
189 | 187 | $preferencesCache[$gadgetName] = $gadgetPrefs; |
190 | 188 | } else { |