Lines Matching refs:changelogFN
41 $changelogFN = metaFN($ID, '.changes');
42 if (!file_exists($changelogFN)) {
45 $cacheFile = $this->getOurCacheFilename($changelogFN);
56 $this->cleanChangelog($changelogFN);
79 $changelogFN = mediaMetaFN($mediaID, '.changes');
80 if (!file_exists($changelogFN)) {
84 $this->cleanChangelog($changelogFN);
91 * @param string $changelogFN
93 public function cleanChangelog($changelogFN) argument
95 if (!file_exists($changelogFN)) {
100 $cacheFile = $this->getOurCacheFilename($changelogFN, true);
102 $startPosition = $this->validateStartPosition($cacheStartPosition, $changelogFN);
104 $handle = fopen($changelogFN, 'rb+');
123 … throw new RuntimeException('There was an unknown error writing the changlog ' . $changelogFN);
160 * @param string $changelogFN filename of the changelog
165 protected function getOurCacheFilename($changelogFN, $create = false) argument
167 $cacheFN = getCacheName('_' . $changelogFN, '.plugin_gdpr');