aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-03-19 16:41:32 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-03-19 16:41:32 +0100
commite193091dfe348c5430c3a303947dbe7a6eced374 (patch)
treee03d726d43a0d8d96699a2c1767bfefffebdf800 /include
parentea4be0db89b5e95b50211e023e94aa008aadae46 (diff)
parent139a86dbd395f4601b29b9af97ac8ea190cce9f9 (diff)
downloadvolse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.tar.gz
volse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.tar.bz2
volse-hubzilla-e193091dfe348c5430c3a303947dbe7a6eced374.zip
Merge remote-tracking branch 'friendica/master'
Diffstat (limited to 'include')
-rw-r--r--include/text.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index a0ff1600e..2956c9467 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1355,3 +1355,6 @@ function file_tag_unsave_file($uid,$item,$file) {
return true;
}
+function normalise_openid($s) {
+ return trim(str_replace(array('http://','https://'),array('',''),$s),'/');
+}