Code Duplication    Length = 10-10 lines in 2 locations

catalog/includes/apps/paypal/modules/EC/EC.php 1 location

@@ 312-321 (lines=10) @@
309
        $OSCOM_PayPal->deleteParameter('MODULE_PAYMENT_PAYPAL_EXPRESS_DISABLE_IE_COMPAT');
310
      }
311
312
      if ( $is_payflow === true ) {
313
        $installed = explode(';', MODULE_PAYMENT_INSTALLED);
314
        $installed_pos = array_search($this->_pm_pf_code . '.php', $installed);
315
316
        if ( $installed_pos !== false ) {
317
          unset($installed[$installed_pos]);
318
319
          $OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed));
320
        }
321
      }
322
    }
323
  }
324
?>

catalog/includes/apps/paypal/modules/DP/DP.php 1 location

@@ 306-315 (lines=10) @@
303
        $OSCOM_PayPal->deleteParameter('MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DEBUG_EMAIL');
304
      }
305
306
      if ( $is_payflow === true ) {
307
        $installed = explode(';', MODULE_PAYMENT_INSTALLED);
308
        $installed_pos = array_search($this->_pm_pf_code . '.php', $installed);
309
310
        if ( $installed_pos !== false ) {
311
          unset($installed[$installed_pos]);
312
313
          $OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed));
314
        }
315
      }
316
    }
317
  }
318
?>