Commit 8449cb97 authored by Ahmad Nawaz's avatar Ahmad Nawaz Committed by Markus Kalkbrenner
Browse files

Issue #3265768: Remove deprecated code

parent 9fc909a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ function facets_range_widget_requirements() {
  // If library is not found, look in the current profile libraries path.
  if (!$library_exists) {
    $profile = \Drupal::installProfile();
    $profile_path = drupal_get_path('profile', $profile);
    $profile_path = Drupal::service('extension.list.profile')->getPath($profile);
    $profile_path .= $library_path;
    $library_exists = file_exists($profile_path);
  }