aboutsummaryrefslogtreecommitdiffstats
path: root/include/spam.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-05 19:40:09 -0700
committerredmatrix <git@macgirvin.com>2016-07-05 19:40:09 -0700
commit537f30f7079dec55e82f616e35162195c6527c52 (patch)
treece6f0cc85091e9eafcca6f08112922e6fa4d72c1 /include/spam.php
parentcf051116228875a8dc9e9da193bc7b8bcfe83840 (diff)
parentad954d01de7568e2834907b4eb24f71648c3a01d (diff)
downloadvolse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.tar.gz
volse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.tar.bz2
volse-hubzilla-537f30f7079dec55e82f616e35162195c6527c52.zip
Merge branch 'dev' into perms
Diffstat (limited to 'include/spam.php')
-rw-r--r--include/spam.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/spam.php b/include/spam.php
deleted file mode 100644
index 8b158b7ae..000000000
--- a/include/spam.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php /** @file */
-
-
-function string_splitter($s) {
-
- if(! $s)
- return array();
-
- $s = preg_replace('/\pP+/','',$s);
-
- $x = mb_split("\[|\]|\s",$s);
-
- $ret = array();
- if($x) {
- foreach($x as $y) {
- if(mb_strlen($y) > 2)
- $ret[] = substr($y,0,64);
- }
- }
- return $ret;
-}
-
-
-
-function get_words($uid,$list) {
-
- stringify($list,true);
-
- $r = q("select * from spam where term in ( " . $list . ") and uid = %d",
- intval($uid)
- );
-
- return $r;
-}
-