aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-03 20:14:58 -0700
committerzotlabs <mike@macgirvin.com>2018-05-03 20:14:58 -0700
commitb52e9731e39125f5911fe6795ef34eb1f183d4b3 (patch)
treeda93428e79399161d31a9058c383432626e7cd16 /Zotlabs/Module/Item.php
parent61a8a161397ef6af6e1e9f2b4efa62a925e87879 (diff)
downloadvolse-hubzilla-b52e9731e39125f5911fe6795ef34eb1f183d4b3.tar.gz
volse-hubzilla-b52e9731e39125f5911fe6795ef34eb1f183d4b3.tar.bz2
volse-hubzilla-b52e9731e39125f5911fe6795ef34eb1f183d4b3.zip
tagging changes: + (old style forum mentions), and underscore space replacement are no longer supported.
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r--Zotlabs/Module/Item.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index fd99c4a64..640b4fa5c 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -528,16 +528,6 @@ class Item extends \Zotlabs\Web\Controller {
// and will require alternatives for alternative content-types (text/html, text/markdown, text/plain, etc.)
// we may need virtual or template classes to implement the possible alternatives
- // If we're sending a private top-level message with a single @-taggable channel as a recipient, @-tag it, if our pconfig is set.
-
- if((! $parent) && (get_pconfig($profile_uid,'system','tagifonlyrecip')) && (substr_count($str_contact_allow,'<') == 1) && ($str_group_allow == '') && ($str_contact_deny == '') && ($str_group_deny == '')) {
- $x = q("select abook_id, abconfig.v from abook left join abconfig on abook_xchan = abconfig.xchan and abook_channel = abconfig.chan and cat= 'their_perms' and abconfig.k = 'tag_deliver' and abconfig.v = 1 and abook_xchan = '%s' and abook_channel = %d limit 1",
- dbesc(str_replace(array('<','>'),array('',''),$str_contact_allow)),
- intval($profile_uid)
- );
- if($x)
- $body .= "\n\n@group+" . $x[0]['abook_id'] . "\n";
- }
$body = cleanup_bbcode($body);