This is probably super minor, but it looks like the same function is called twice in rapid succession in the recurly_client_initialize() function. The first time being unnecessary as far as I can tell.

  // If we can find a path in the libraries directory to the Recurly PHP client
  // library...
  $path = libraries_get_path('recurly');
  if (($path = libraries_get_path('recurly')) && file_exists($path . '/lib/recurly.php')) {

Comments

quicksketch’s picture

Status: Active » Fixed

Thanks, fixed.

  • quicksketch committed ce70a53 on 7.x-1.x
    Issue #2153879: libraries_get_path('recurly') called twice in succession...

  • quicksketch committed 47ee6d5 on 7.x-1.x
    Issue #2153879: libraries_get_path() called twice in hook_requirements.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.