Index: docs/developer/hooks/core.php =================================================================== RCS file: /cvs/drupal-contrib/contributions/docs/developer/hooks/core.php,v retrieving revision 1.72 diff -u -F^f -r1.72 core.php --- docs/developer/hooks/core.php 20 Dec 2005 04:57:51 -0000 1.72 +++ docs/developer/hooks/core.php 18 Jan 2006 20:17:11 -0000 @@ -719,22 +719,6 @@ function hook_nodeapi(&$node, $op, $teas } /** - * Insert a JavaScript onload handler. - * - * This hook enables modules to insert JavaScript into the body => onload - * event for every page view. - * - * @return - * An array of JavaScript statements to call during the onload event. - * - * The returned statements will be automatically separated by semicolons, - * so including them in the returned array is optional. - */ -function hook_onload() { - return array('my_javascript_function()'); -} - -/** * Define user permissions. * * This hook can supply permissions that the module defines, so that they