1
0

2k11 config.inc.php: Removed debug and unused code

This commit is contained in:
onli
2013-03-06 20:42:49 +01:00
parent 0cd974fa6d
commit aad1ea6a01

@ -103,7 +103,6 @@ function serendipity_plugin_api_pre_event_hook($event, &$bag, &$eventData, &$add
// Check what Event is coming in, only react to those we want.
switch($event) {
case 'external_plugin':
echo $eventData;
switch ($eventData) {
case 'admin/serendipity_editor.js':
serendipity_smarty_show('admin/serendipity_editor.js.tpl');
@ -113,6 +112,3 @@ function serendipity_plugin_api_pre_event_hook($event, &$bag, &$eventData, &$add
break;
}
}
//echo "registering link to js-handler";
//serendipity_registerHandler(dirname(__FILE__). '/test.php', 'test.js');