Переглянути джерело

Clear the cache on operations the update the disk

Zachary Kotlarek 13 роки тому
батько
коміт
033d0ceed6
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      web/includes/webloc.php

+ 1 - 0
web/includes/webloc.php

@@ -15,6 +15,7 @@ function writeWebloc($url, $path) {
 	$str .= '</plist>';
 
 	file_put_contents($path, $str);
+	clearCache();
 }
 
 # Find the *.webloc file, if in, in the provided folder