Fix mentions of old plugin name
This commit is contained in:
parent
2338ec7798
commit
fc78e5ffd8
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* Tabpage plugin: Shows links to children pages in the page menu
|
||||
* Children pages plugin: Shows links to children pages in the page menu
|
||||
*
|
||||
* @license BSD 2-Clause
|
||||
* @author Antoine Le Gonidec <vv221.dokuwiki@dotslashplay.it>
|
||||
|
@ -31,7 +31,7 @@ class action_plugin_childrenpages extends DokuWiki_Action_Plugin {
|
|||
public function addMenuItems(Doku_Event $event) : void {
|
||||
// Check that this method has been called in the expected context
|
||||
if ( $event->name !== 'MENU_ITEMS_ASSEMBLY' ) {
|
||||
$message = "Tabpage plugin error:";
|
||||
$message = "Children pages plugin error:";
|
||||
$message .= "addMenuItem method should only be called by \"MENU_ITEMS_ASSEMBLY\" event";
|
||||
$message .= ", but it has been called by \"$event->name\".";
|
||||
throw new Exception($message);
|
||||
|
|
Loading…
Reference in a new issue