aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2018-11-29 23:07:39 +0100
committerMax Kostikov <max@kostikov.co>2018-11-29 23:07:39 +0100
commitd6442ec99160c1f556d9e5b7bc3b2fec76200aa1 (patch)
tree54a59bfe3817324f9c44a3308cf3c944b4455954 /include
parentf3831fa77fe62d8696f867259ae9f007a0a3d2ea (diff)
downloadvolse-hubzilla-d6442ec99160c1f556d9e5b7bc3b2fec76200aa1.tar.gz
volse-hubzilla-d6442ec99160c1f556d9e5b7bc3b2fec76200aa1.tar.bz2
volse-hubzilla-d6442ec99160c1f556d9e5b7bc3b2fec76200aa1.zip
Update text.php
Diffstat (limited to 'include')
-rw-r--r--include/text.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/text.php b/include/text.php
index 426229d36..234747342 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1139,11 +1139,6 @@ function sslify($s) {
// Complain to your browser maker
$allow = get_config('system','sslify_everything');
-
- //We can skip next part if this only images and cache is on
- if((! $allow) && $cacheon)
- return $s;
-
$pattern = (($allow) ? "/\<(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" : "/\<img(.*?)src=[\"|'](http\:.*?)[\"|'](.*?)\>/" );
$matches = null;