Skip to content

Commit

Permalink
Bug #110583 chore: Merge pull request techjoomla#24 from snehal0904/m…
Browse files Browse the repository at this point in the history
…aster

Bug #110583 Language constant for the PayPal SUBMIT button is not get…
  • Loading branch information
manojLondhe authored Sep 14, 2017
2 parents 7fef149 + 08833c0 commit 60da007
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions paypal/paypal.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,9 @@
defined('_JEXEC') or die('Restricted access');
jimport('joomla.plugin.plugin');

if (JVERSION >= '1.6.0')
{
require_once JPATH_SITE . '/plugins/payment/paypal/paypal/helper.php';
}
else
{
require_once JPATH_SITE . '/plugins/payment/paypal/helper.php';
require_once JPATH_SITE . '/plugins/payment/paypal/paypal/helper.php';
$lang = JFactory::getLanguage();
$lang->load('plg_payment_paypal', JPATH_ADMINISTRATOR);
}

/**
* PlgPaymentPaypal
Expand Down

0 comments on commit 60da007

Please sign in to comment.