summaryrefslogtreecommitdiff
path: root/actions/foafgroup.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-11 17:16:37 -0500
committerSarven Capadisli <csarven@status.net>2010-03-11 17:16:37 -0500
commit20cb9fa28f865ecfcec31d5285950516172b8326 (patch)
tree05f35344d51830ccf720ac169006f0e6bd56788b /actions/foafgroup.php
parent00fa7d4b0b2078f3e85693e98c6b284664cc9767 (diff)
foaf:holdsAccount is deprecated in favour of foaf:account. See
http://lists.foaf-project.org/pipermail/foaf-dev/2009-December/009903.html for the news. Patch by Toby Inkster <mail@tobyinkster.co.uk>.
Diffstat (limited to 'actions/foafgroup.php')
-rw-r--r--actions/foafgroup.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/foafgroup.php b/actions/foafgroup.php
index ebdf1cee2..d685554ac 100644
--- a/actions/foafgroup.php
+++ b/actions/foafgroup.php
@@ -146,7 +146,7 @@ class FoafGroupAction extends Action
{
$this->elementStart('Agent', array('rdf:about' => $uri));
$this->element('nick', null, $details['nickname']);
- $this->elementStart('holdsAccount');
+ $this->elementStart('account');
$this->elementStart('sioc:User', array('rdf:about'=>$uri.'#acct'));
$this->elementStart('sioc:has_function');
$this->elementStart('statusnet:GroupAdminRole');
@@ -154,7 +154,7 @@ class FoafGroupAction extends Action
$this->elementEnd('statusnet:GroupAdminRole');
$this->elementEnd('sioc:has_function');
$this->elementEnd('sioc:User');
- $this->elementEnd('holdsAccount');
+ $this->elementEnd('account');
$this->elementEnd('Agent');
}
else
@@ -177,4 +177,4 @@ class FoafGroupAction extends Action
$this->elementEnd('Document');
}
-} \ No newline at end of file
+}