some object/thing tweaks

This commit is contained in:
friendica
2013-07-03 20:37:39 -07:00
parent 8ec5f8b07a
commit fbdee83dca
4 changed files with 30 additions and 3 deletions

View File

@@ -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