diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2025-04-25 18:54:29 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2025-04-25 18:54:29 +0300 |
| commit | f80187e05f12c2fe9c487bff13058b207833b227 (patch) | |
| tree | 77acdf9b8271568a53e636fc4e84d4bda1404f82 /plugins/cache_starred_images | |
| parent | 75556e2f3d713a356f8f5b7130090d5a7ff12bb5 (diff) | |
| parent | 0e4b8bd6538f3062d34a3a06ab5531c70042de78 (diff) | |
Merge branch 'master' into rip-mysql
Diffstat (limited to 'plugins/cache_starred_images')
| -rwxr-xr-x | plugins/cache_starred_images/init.php | 6 |
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", ""); |