diff --git a/action/ajax.php b/action/ajax.php index d542676b..c42a565a 100644 --- a/action/ajax.php +++ b/action/ajax.php @@ -7,6 +7,7 @@ * @author Andreas Gohr */ +use dokuwiki\Logger; use dokuwiki\Extension\ActionPlugin; use dokuwiki\Extension\EventHandler; use dokuwiki\Extension\Event; @@ -94,7 +95,7 @@ public function handleAjax(Event $event) $responseData[$action] = RSSNode::renderAttrsToHTML($attrs); break; default: - dokuwiki\Logger::getInstance(dokuwiki\Logger::LOG_DEBUG)->log( + Logger::getInstance(Logger::LOG_DEBUG)->log( __FILE__ . ': ' . __LINE__, 'Unknown action: ' . $action );