aboutsummaryrefslogtreecommitdiffstats
path: root/mod/thing.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-07-03 20:37:39 -0700
committerfriendica <info@friendica.com>2013-07-03 20:37:39 -0700
commitfbdee83dca4aa9e5d66488f32121d8c62e378316 (patch)
treec86139c1ea524170e67cc41bb6077e3da5689a75 /mod/thing.php
parent8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6 (diff)
downloadvolse-hubzilla-fbdee83dca4aa9e5d66488f32121d8c62e378316.tar.gz
volse-hubzilla-fbdee83dca4aa9e5d66488f32121d8c62e378316.tar.bz2
volse-hubzilla-fbdee83dca4aa9e5d66488f32121d8c62e378316.zip
some object/thing tweaks
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