Index: trunk/extensions/UploadWizard/includes/UploadWizardCampaign.php |
— | — | @@ -273,29 +273,6 @@ |
274 | 274 | } |
275 | 275 | |
276 | 276 | /** |
277 | | - * Returns the value of the specified config property. |
278 | | - * |
279 | | - * @since 1.2 |
280 | | - * |
281 | | - * @param string $property |
282 | | - * |
283 | | - * @return mixed |
284 | | - */ |
285 | | - public function getProperty( $property ) { |
286 | | - global $wgUploadWizardConfig; |
287 | | - |
288 | | - if ( array_key_exists( $property, $this->config ) ) { |
289 | | - return $this->config[$property]; |
290 | | - } |
291 | | - elseif ( array_key_exists( $property, $wgUploadWizardConfig['campaignDefaults'] ) ) { |
292 | | - return $wgUploadWizardConfig['campaignDefaults'][$property]; |
293 | | - } |
294 | | - else { |
295 | | - return null; |
296 | | - } |
297 | | - } |
298 | | - |
299 | | - /** |
300 | 277 | * Write the campaign to the DB. |
301 | 278 | * If it's already there, it'll be updated, else it'll be inserted. |
302 | 279 | * |