1<?php
2
3namespace dokuwiki\ChangeLog;
4
5/**
6 * handles changelog of a media file
7 */
8class MediaChangeLog extends ChangeLog
9{
10
11    /**
12     * Returns path to changelog
13     *
14     * @return string path to file
15     */
16    protected function getChangelogFilename()
17    {
18        return mediaMetaFN($this->id, '.changes');
19    }
20
21    /**
22     * Returns path to current page/media
23     *
24     * @return string path to file
25     */
26    protected function getFilename()
27    {
28        return mediaFN($this->id);
29    }
30}
31