]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Let's be consistent with URL verbs
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 8 Mar 2016 19:01:06 +0000 (20:01 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 8 Mar 2016 19:01:06 +0000 (20:01 +0100)
lib/activityverb.php

index 187962d617e6f442bee041fb60258a5390ff8ac4..c59c6371b6fea3de846268889512f8fd7d7ed469 100644 (file)
@@ -54,7 +54,7 @@ class ActivityVerb
     const FRIEND   = 'http://activitystrea.ms/schema/1.0/make-friend';
     const JOIN     = 'http://activitystrea.ms/schema/1.0/join';
     const TAG      = 'http://activitystrea.ms/schema/1.0/tag';
-    const DELETE   = 'delete';  // the url part is not used anymore, and this feature is new enough to avoid problems with legacy nodes if used without http://...
+    const DELETE   = 'http://activitystrea.ms/schema/1.0/delete';
 
     // Custom OStatus verbs for the flipside until they're standardized
     const UNFAVORITE = 'http://activitystrea.ms/schema/1.0/unfavorite';