]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/BBCode.php
Move Cache::set() to DI::cache()->set()
[friendica.git] / src / Content / Text / BBCode.php
index fac2b83c17618aa01794e9b7520c425cd3c40cdf..1489ed232f422fedc1da48493d9e2e1aef6e3491 100644 (file)
@@ -438,7 +438,6 @@ class BBCode
 
        public static function scaleExternalImages($srctext)
        {
-               // Picture addresses can contain special characters
                $s = $srctext;
 
                $matches = null;
@@ -1113,7 +1112,7 @@ class BBCode
                                        }
                                }
                        }
-                       Cache::set($cache_key, $text);
+                       DI::cache()->set($cache_key, $text);
                }
 
                return $text;
@@ -1195,7 +1194,7 @@ class BBCode
                                }
                        }
                }
-               Cache::set($cache_key, $text);
+               DI::cache()->set($cache_key, $text);
 
                return $text;
        }