From 2e3ef4cc078a29be245c6b19f5c8d900d9fe75cc Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 21 Oct 2013 18:28:04 +0200 Subject: [PATCH] Use pre-defined const instead of strings --- lib/activity.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/activity.php b/lib/activity.php index 7546e2cd43..051993ddff 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -622,14 +622,14 @@ class Activity } if (!empty($this->context->conversation)) { - $xs->element('link', array('rel' => 'ostatus:conversation', + $xs->element('link', array('rel' => ActivityContext::CONVERSATION, 'href' => $this->context->conversation)); } foreach ($this->context->attention as $attnURI) { - $xs->element('link', array('rel' => 'ostatus:attention', + $xs->element('link', array('rel' => ActivityContext::ATTENTION, 'href' => $attnURI)); - $xs->element('link', array('rel' => 'mentioned', + $xs->element('link', array('rel' => ActivityContext::MENTIONED, 'href' => $attnURI)); }