summaryrefslogtreecommitdiff
path: root/plugins/cache_starred_images/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-04-25 18:54:29 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-04-25 18:54:29 +0300
commitf80187e05f12c2fe9c487bff13058b207833b227 (patch)
tree77acdf9b8271568a53e636fc4e84d4bda1404f82 /plugins/cache_starred_images/init.php
parent75556e2f3d713a356f8f5b7130090d5a7ff12bb5 (diff)
parent0e4b8bd6538f3062d34a3a06ab5531c70042de78 (diff)
Merge branch 'master' into rip-mysql
Diffstat (limited to 'plugins/cache_starred_images/init.php')
-rwxr-xr-xplugins/cache_starred_images/init.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php
index da56da00d..527fb21ee 100755
--- a/plugins/cache_starred_images/init.php
+++ b/plugins/cache_starred_images/init.php
@@ -24,12 +24,6 @@ class Cache_Starred_Images extends Plugin {
$this->cache = DiskCache::instance("starred-images");
$this->cache_status = DiskCache::instance("starred-images.status-files");
- if ($this->cache->make_dir())
- chmod($this->cache->get_dir(), 0777);
-
- if ($this->cache_status->make_dir())
- chmod($this->cache_status->get_dir(), 0777);
-
if (!$this->cache->exists(".no-auto-expiry"))
$this->cache->put(".no-auto-expiry", "");