]> git.mxchange.org Git - friendica.git/blobdiff - include/discover_poco.php
Merge pull request #2016 from fabrixxm/template_vars_hook
[friendica.git] / include / discover_poco.php
index 4a17b49279aa952fcf1f43c1df60e5fecc7879e2..79958a8849a4235b7a53156cc5c2fdddd26de046 100644 (file)
@@ -183,7 +183,7 @@ function discover_directory($search) {
                                poco_check($data["url"], $data["name"], $data["network"], $data["photo"], "", "", "", $jj->tags, $data["addr"], "", 0);
                        }
                }
-       Cache::set("dirsearch:".$search, time());
+       Cache::set("dirsearch:".$search, time(), CACHE_DAY);
 }
 
 if (array_search(__file__,get_included_files())===0){