diff options
author | VirtualTam <virtualtam@flibidi.net> | 2017-01-05 19:20:41 +0100 |
---|---|---|
committer | VirtualTam <virtualtam+github@flibidi.net> | 2017-01-05 19:51:50 +0100 |
commit | 724f1e322943b0506a4a4f17e78eaf4b2e464553 (patch) | |
tree | d9264b22ef720fab6578082fb442f36c5c08ba6c /application | |
parent | 69173356cd3e1862dbfd5072120e69ec48a11640 (diff) | |
download | Shaarli-724f1e322943b0506a4a4f17e78eaf4b2e464553.tar.gz Shaarli-724f1e322943b0506a4a4f17e78eaf4b2e464553.tar.zst Shaarli-724f1e322943b0506a4a4f17e78eaf4b2e464553.zip |
Cleanup: remove unused variables
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application')
-rw-r--r-- | application/CachedPage.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/application/CachedPage.php b/application/CachedPage.php index 5087d0c4..e11cc52d 100644 --- a/application/CachedPage.php +++ b/application/CachedPage.php | |||
@@ -7,9 +7,6 @@ class CachedPage | |||
7 | // Directory containing page caches | 7 | // Directory containing page caches |
8 | private $cacheDir; | 8 | private $cacheDir; |
9 | 9 | ||
10 | // Full URL of the page to cache -typically the value returned by pageUrl() | ||
11 | private $url; | ||
12 | |||
13 | // Should this URL be cached (boolean)? | 10 | // Should this URL be cached (boolean)? |
14 | private $shouldBeCached; | 11 | private $shouldBeCached; |
15 | 12 | ||
@@ -27,7 +24,6 @@ class CachedPage | |||
27 | { | 24 | { |
28 | // TODO: check write access to the cache directory | 25 | // TODO: check write access to the cache directory |
29 | $this->cacheDir = $cacheDir; | 26 | $this->cacheDir = $cacheDir; |
30 | $this->url = $url; | ||
31 | $this->filename = $this->cacheDir.'/'.sha1($url).'.cache'; | 27 | $this->filename = $this->cacheDir.'/'.sha1($url).'.cache'; |
32 | $this->shouldBeCached = $shouldBeCached; | 28 | $this->shouldBeCached = $shouldBeCached; |
33 | } | 29 | } |