Skip to content

Commit

Permalink
Merge pull request civicrm#11022 from eileenmcnaughton/components
Browse files Browse the repository at this point in the history
CRM-21218 Improve component statics flushing
  • Loading branch information
totten authored and sluc23 committed Jan 10, 2018
2 parents b2cb575 + 3ea36d1 commit 3fc6498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static public function &getEnabledComponents($force = FALSE) {
}

static public function flushEnabledComponents() {
self::getEnabledComponents(TRUE);
unset(Civi::$statics[__CLASS__]);
}

/**
Expand Down

0 comments on commit 3fc6498

Please sign in to comment.