Skip to content

Commit

Permalink
These issues have gone away in later versions of Net_DNS2
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 4, 2014
1 parent 9e7d599 commit 8d580a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 0 additions & 8 deletions framework/Core/lib/Horde/Core/Factory/Dns.php
Expand Up @@ -18,14 +18,6 @@ public function create(Horde_Injector $injector)
} catch (Net_DNS2_Exception $e) {}
}

// TODO: Fixes for Net_DNS2 v1.0.0
if (!defined('SOCK_DGRAM')) {
define('SOCK_STREAM', 1);
define('SOCK_DGRAM', 2);
}

spl_autoload_unregister('Net_DNS2::autoload');

return $resolver;
}
}
1 change: 1 addition & 0 deletions framework/Core/package.xml
Expand Up @@ -1464,6 +1464,7 @@
</package>
<package>
<name>Net_DNS2</name>
<min>1.3.0</min>
<channel>pear.php.net</channel>
</package>
<package>
Expand Down

0 comments on commit 8d580a2

Please sign in to comment.