aboutsummaryrefslogtreecommitdiffstats
path: root/mod/thing.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thing.php')
-rw-r--r--mod/thing.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/mod/thing.php b/mod/thing.php
index 9cd0f519f..8ecf00d01 100644
--- a/mod/thing.php
+++ b/mod/thing.php
@@ -31,6 +31,20 @@ function thing_init(&$a) {
*/
$translated_verb = $verbs[$verb][1];
+
+ /**
+ * The site administrator can do things that normals cannot.
+ * This is restricted because it will likely cause
+ * an activitystreams protocol violation and the activity might
+ * choke in some other network and result in unnecessary
+ * support requests. It isn't because we're trying to be heavy-handed
+ * about what you can and can't do.
+ */
+
+ if(! $translated_verb) {
+ if(is_site_admin())
+ $translated_verb = $verb;
+ }
/**
* Things, objects: We do not provide definite (a, an) or indefinite (the) articles or singular/plural designators