r93003 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93002‎ | r93003 | r93004 >
Date:18:53, 24 July 2011
Author:jeroendedauw
Status:ok
Tags:
Comment:
rem dead code
Modified paths:
  • /trunk/extensions/UploadWizard/includes/UploadWizardCampaign.php (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/includes/UploadWizardCampaign.php
@@ -273,29 +273,6 @@
274274 }
275275
276276 /**
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 - /**
300277 * Write the campaign to the DB.
301278 * If it's already there, it'll be updated, else it'll be inserted.
302279 *

Status & tagging log