--- /dev/null
+<?php
+namespace wcf\acp\page;
+
+/**
+ * Shows a media file in the ACP.
+ *
+ * @author Matthias Schmidt
+ * @copyright 2001-2016 WoltLab GmbH
+ * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @package WoltLabSuite\Core\Acp\Page
+ * @since 3.0
+ */
+class MediaPage extends \wcf\page\MediaPage {}
/**
* @inheritDoc
*/
- public function getLink($articleID = null, $boxID = null, $messageObjectType = null, $messageID = null) {
+ public function getLink() {
return LinkHandler::getInstance()->getLink('Media', array_merge($this->linkParameters, [
- 'forceFrontend' => true,
'object' => $this
]));
}
}
return LinkHandler::getInstance()->getLink('Media', array_merge($this->linkParameters, [
- 'forceFrontend' => true,
'object' => $this,
'thumbnail' => $size
]));