X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FCachedPage.php;h=e11cc52d01e3aeac07142c476d76e35bf7b88229;hb=1004742f09b55ff781c13745781b9a7e90986faa;hp=5087d0c4b6b1fd6182fcd4564497d6531c78754b;hpb=fb6c8f770a07e38d5250ca4d6717445002e7bfb3;p=github%2Fshaarli%2FShaarli.git 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 // Directory containing page caches private $cacheDir; - // Full URL of the page to cache -typically the value returned by pageUrl() - private $url; - // Should this URL be cached (boolean)? private $shouldBeCached; @@ -27,7 +24,6 @@ class CachedPage { // TODO: check write access to the cache directory $this->cacheDir = $cacheDir; - $this->url = $url; $this->filename = $this->cacheDir.'/'.sha1($url).'.cache'; $this->shouldBeCached = $shouldBeCached; }