summaryrefslogtreecommitdiff
path: root/platform/www/inc/ChangeLog/MediaChangeLog.php
blob: 0d7d8d390adc182fbf3377ceab24367cdc58e041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

namespace dokuwiki\ChangeLog;

/**
 * handles changelog of a media file
 */
class MediaChangeLog extends ChangeLog
{

    /**
     * Returns path to changelog
     *
     * @return string path to file
     */
    protected function getChangelogFilename()
    {
        return mediaMetaFN($this->id, '.changes');
    }

    /**
     * Returns path to current page/media
     *
     * @return string path to file
     */
    protected function getFilename()
    {
        return mediaFN($this->id);
    }
}