Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
c585a43d
Commit
c585a43d
authored
Aug 31, 2011
by
Zach Copley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove activity:actor and deprecation warning from Atom Activity Streams serialization
parent
9f751310
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
lib/activity.php
lib/activity.php
+0
-12
No files found.
lib/activity.php
View file @
c585a43d
...
...
@@ -570,18 +570,6 @@ class Activity
if
(
$author
)
{
$this
->
actor
->
outputTo
(
$xs
,
'author'
);
// XXX: Remove <activity:actor> ASAP! Author information
// has been moved to the author element in the Activity
// Streams spec. We're outputting actor only for backward
// compatibility with clients that can only parse
// activities based on older versions of the spec.
$depMsg
=
'Deprecation warning: activity:actor is present '
.
'only for backward compatibility. It will be '
.
'removed in the next version of StatusNet.'
;
$xs
->
comment
(
$depMsg
);
$this
->
actor
->
outputTo
(
$xs
,
'activity:actor'
);
}
if
(
$this
->
verb
!=
ActivityVerb
::
POST
||
count
(
$this
->
objects
)
!=
1
||
$tag
!=
'entry'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment