Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Seems weird
- protected function getDiscovery() {
- if (!isset($this->discovery)) {
- $this->discovery = new HookDiscovery('aggregator_fetch_info');
- }
- return $this->discovery;
- }
- // Seems less weird
- protected function getDiscovery() {
- if (!isset($this->discovery)) {
- return parent::getDiscovery();
- }
- return $this->discovery;
- }
Advertisement
Add Comment
Please, Sign In to add comment