summaryrefslogtreecommitdiffstats
path: root/Auth/Yadis/XRDS.php
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/Yadis/XRDS.php')
-rw-r--r--Auth/Yadis/XRDS.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/Yadis/XRDS.php b/Auth/Yadis/XRDS.php
index 044d1e7..4f1ede0 100644
--- a/Auth/Yadis/XRDS.php
+++ b/Auth/Yadis/XRDS.php
@@ -85,7 +85,7 @@ class Auth_Yadis_Service {
/**
* Creates an empty service object.
*/
- function Auth_Yadis_Service()
+ function __construct()
{
$this->element = null;
$this->parser = null;
@@ -255,7 +255,7 @@ class Auth_Yadis_XRDS {
* Instantiate a Auth_Yadis_XRDS object. Requires an XPath
* instance which has been used to parse a valid XRDS document.
*/
- function Auth_Yadis_XRDS($xmlParser, $xrdNodes)
+ function __construct($xmlParser, $xrdNodes)
{
$this->parser = $xmlParser;
$this->xrdNode = $xrdNodes[count($xrdNodes) - 1];