diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-19 16:41:32 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-19 16:41:32 +0100 |
commit | e193091dfe348c5430c3a303947dbe7a6eced374 (patch) | |
tree | e03d726d43a0d8d96699a2c1767bfefffebdf800 /include | |
parent | ea4be0db89b5e95b50211e023e94aa008aadae46 (diff) | |
parent | 139a86dbd395f4601b29b9af97ac8ea190cce9f9 (diff) | |
download | volse-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.php | 3 |
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),'/'); +} |