Index: trunk/extensions/ContributionTracking/ContributionTracking.processor.php |
— | — | @@ -331,7 +331,7 @@ |
332 | 332 | if ( $returnTitle ) { |
333 | 333 | $returnto = wfExpandUrl( $returnTitle->getFullUrl(), PROTO_CURRENT ); |
334 | 334 | } else { |
335 | | - $returnto = $wgContributionTrackingReturnToURLDefault . "/$language"; |
| 335 | + $returnto = $wgContributionTrackingReturnToURLDefault . "/$language"; // FIXME: $language is undefined |
336 | 336 | } |
337 | 337 | $repost['fields']['return'] = $returnto; |
338 | 338 | $repost['fields']['currency_code'] = $input['currency_code']; |
Index: trunk/extensions/ContributionTracking/ContributionTracking.php |
— | — | @@ -109,7 +109,7 @@ |
110 | 110 | } else { |
111 | 111 | global $wgContributionTrackingDBname; |
112 | 112 | |
113 | | - if($updater->getDB()->getDBName() === $wgContributionTrackingDBname) { |
| 113 | + if( $updater->getDB()->getDBname() === $wgContributionTrackingDBname ) { |
114 | 114 | $updater->addExtensionTable( 'contribution_tracking', $dir . 'ContributionTracking.sql' ); |
115 | 115 | $updater->addExtensionTable( 'contribution_tracking_owa_ref', $dir . 'ContributionTracking_OWA_ref.sql' ); |
116 | 116 | $updater->addExtensionUpdate( array( 'addField', 'contribution_tracking', 'owa_session', |