dever 4 years ago
parent
commit
7a7cfa653d
1 changed files with 0 additions and 6 deletions
  1. 0 6
      main/lib/Core.php

+ 0 - 6
main/lib/Core.php

@@ -16,12 +16,6 @@ class Core
 
     public function replacePic($pic, $type = 't1')
     {
-        //$pic = Dever::pic($pic, $type);
-
-        if (strstr($pic, 'http://')) {
-            $pic = str_replace('http://', 'https://', $pic);
-        }
-
         return $pic;
     }
 }