https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Asset!LibraryDisc...

$cache and $lock properties are declared already in the CacheCollector abstract class.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chi created an issue. See original summary.

snehi’s picture

From where i have to remove these ?

sidharthap’s picture

Status: Active » Needs review
FileSize
702 bytes

Here is a patch which remove $cache and $link from LibraryDiscoveryCollector class.

Chi’s picture

Status: Needs review » Reviewed & tested by the community

  • catch committed 6842e77 on 8.2.x
    Issue #2686595 by sidharthap: LibraryDiscoveryCollector does not need to...

  • catch committed ee3ff7a on 8.1.x
    Issue #2686595 by sidharthap: LibraryDiscoveryCollector does not need to...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!

Status: Fixed » Closed (fixed)

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