Index: includes/database.mysqli.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database.mysqli.inc,v retrieving revision 1.51 diff -u -r1.51 database.mysqli.inc --- includes/database.mysqli.inc 19 Dec 2007 13:03:16 -0000 1.51 +++ includes/database.mysqli.inc 30 Dec 2007 17:32:12 -0000 @@ -6,9 +6,8 @@ * Database interface code for MySQL database servers using the mysqli client libraries. mysqli is included in PHP 5 by default and allows developers to use the advanced features of MySQL 4.1.x, 5.0.x and beyond. */ -/* Maintainers of this file should consult - * http://www.php.net/manual/en/ref.mysqli.php - */ + // Maintainers of this file should consult: + // http://www.php.net/manual/en/ref.mysqli.php /** * @ingroup database @@ -85,7 +84,7 @@ _db_error_page(mysqli_connect_error()); } - /* Force UTF-8 */ + // Force UTF-8. mysqli_query($connection, 'SET NAMES "utf8"'); return $connection; Index: includes/form.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/form.inc,v retrieving revision 1.256 diff -u -r1.256 form.inc --- includes/form.inc 23 Dec 2007 12:33:13 -0000 1.256 +++ includes/form.inc 30 Dec 2007 17:32:13 -0000 @@ -639,7 +639,7 @@ _form_validate($elements[$key], $form_state); } } - /* Validate the current input */ + // Validate the current input. if (!isset($elements['#validated']) || !$elements['#validated']) { if (isset($elements['#needs_validation'])) { // An empty textfield returns '' so we use empty(). An empty checkbox @@ -817,7 +817,7 @@ // Initialize as unprocessed. $form['#processed'] = FALSE; - /* Use element defaults */ + // Use element defaults. if ((!empty($form['#type'])) && ($info = _element_info($form['#type']))) { // Overlay $info onto $form, retaining preexisting keys in $form. $form += $info; @@ -1525,7 +1525,7 @@ return theme('form_element', $element, $element['#children']); } -/* +/** * Expand a password_confirm field into two text boxes. */ function expand_password_confirm($element) { Index: includes/theme.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/theme.inc,v retrieving revision 1.407 diff -u -r1.407 theme.inc --- includes/theme.inc 23 Dec 2007 13:17:19 -0000 1.407 +++ includes/theme.inc 30 Dec 2007 17:32:14 -0000 @@ -12,7 +12,7 @@ * @see themeable */ - /** +/** * @name Content markers * @{ * Markers used by theme_mark() and node_mark() to designate content. Index: includes/xmlrpc.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/xmlrpc.inc,v retrieving revision 1.45 diff -u -r1.45 xmlrpc.inc --- includes/xmlrpc.inc 23 Dec 2007 13:17:19 -0000 1.45 +++ includes/xmlrpc.inc 30 Dec 2007 17:32:14 -0000 @@ -163,11 +163,9 @@ return FALSE; } $xmlrpc_message->_parser = xml_parser_create(); - // Set XML parser to take the case of tags into account + // Set XML parser to take the case of tags into account. xml_parser_set_option($xmlrpc_message->_parser, XML_OPTION_CASE_FOLDING, FALSE); // Set XML parser callback functions - /* Do not set object. $xmlrpc_message does not have member functions any more - xml_set_object($xmlrpc_message->_parser, $xmlrpc_message); */ xml_set_element_handler($xmlrpc_message->_parser, 'xmlrpc_message_tag_open', 'xmlrpc_message_tag_close'); xml_set_character_data_handler($xmlrpc_message->_parser, 'xmlrpc_message_cdata'); xmlrpc_message_set($xmlrpc_message); Index: includes/database.mysql.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database.mysql.inc,v retrieving revision 1.85 diff -u -r1.85 database.mysql.inc --- includes/database.mysql.inc 19 Dec 2007 13:03:16 -0000 1.85 +++ includes/database.mysql.inc 30 Dec 2007 17:32:11 -0000 @@ -85,7 +85,7 @@ _db_error_page(mysql_error()); } - /* On MySQL 4.1 and later, force UTF-8 */ + // On MySQL 4.1 and later, force UTF-8. if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) { mysql_query('SET NAMES "utf8"', $connection); } Index: includes/xmlrpcs.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/xmlrpcs.inc,v retrieving revision 1.23 diff -u -r1.23 xmlrpcs.inc --- includes/xmlrpcs.inc 8 Dec 2007 14:06:20 -0000 1.23 +++ includes/xmlrpcs.inc 30 Dec 2007 17:32:14 -0000 @@ -201,12 +201,7 @@ } } } - /* - if (count($args) == 1) { - // If only one parameter just send that instead of the whole array - $args = $args[0]; - } - */ + if (!function_exists($method)) { return xmlrpc_error(-32601, t('Server error. Requested function %method does not exist.', array("%method" => $method))); } Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.746 diff -u -r1.746 common.inc --- includes/common.inc 22 Dec 2007 23:24:24 -0000 1.746 +++ includes/common.inc 30 Dec 2007 17:32:11 -0000 @@ -2708,7 +2708,7 @@ $elements += array('#title' => NULL, '#description' => NULL); if (!isset($elements['#children'])) { $children = element_children($elements); - /* Render all the children that use a theme function */ + // Render all the children that use a theme function. if (isset($elements['#theme']) && empty($elements['#theme_used'])) { $elements['#theme_used'] = TRUE; @@ -2732,7 +2732,7 @@ $elements[$key] = isset($previous[$key]) ? $previous[$key] : NULL; } } - /* render each of the children using drupal_render and concatenate them */ + // Render each of the children using drupal_render and concatenate them. if (!isset($content) || $content === '') { foreach ($children as $key) { $content .= drupal_render($elements[$key]); Index: modules/profile/profile.module =================================================================== RCS file: /cvs/drupal/drupal/modules/profile/profile.module,v retrieving revision 1.234 diff -u -r1.234 profile.module --- modules/profile/profile.module 26 Dec 2007 19:02:24 -0000 1.234 +++ modules/profile/profile.module 30 Dec 2007 17:32:15 -0000 @@ -459,7 +459,7 @@ return $data; } -/* +/** * Menu item access callback - check if a user has access to a profile category. */ function profile_category_access($category) { Index: modules/blogapi/blogapi.module =================================================================== RCS file: /cvs/drupal/drupal/modules/blogapi/blogapi.module,v retrieving revision 1.112 diff -u -r1.112 blogapi.module --- modules/blogapi/blogapi.module 14 Dec 2007 18:08:44 -0000 1.112 +++ modules/blogapi/blogapi.module 30 Dec 2007 17:32:15 -0000 @@ -396,12 +396,10 @@ return blogapi_blogger_get_recent_posts('0123456789ABCDEF', $blogid, $username, $password, $number_of_posts, TRUE); } -// see above function blogapi_mt_get_recent_post_titles($blogid, $username, $password, $number_of_posts) { return blogapi_blogger_get_recent_posts('0123456789ABCDEF', $blogid, $username, $password, $number_of_posts, FALSE); } -/* **** */ function blogapi_mt_get_category_list($blogid, $username, $password) { return blogapi_metaweblog_get_category_list($blogid, $username, $password); } Index: modules/node/node.pages.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.pages.inc,v retrieving revision 1.22 diff -u -r1.22 node.pages.inc --- modules/node/node.pages.inc 27 Dec 2007 14:03:37 -0000 1.22 +++ modules/node/node.pages.inc 30 Dec 2007 17:32:15 -0000 @@ -115,10 +115,8 @@ // Set the id of the top-level form tag $form['#id'] = 'node-form'; - /** - * Basic node information. - * These elements are just values so they are not even sent to the client. - */ + // Basic node information. + // These elements are just values so they are not even sent to the client. foreach (array('nid', 'vid', 'uid', 'created', 'type', 'language') as $key) { $form[$key] = array( '#type' => 'value', Index: modules/statistics/statistics.module =================================================================== RCS file: /cvs/drupal/drupal/modules/statistics/statistics.module,v retrieving revision 1.270 diff -u -r1.270 statistics.module --- modules/statistics/statistics.module 19 Dec 2007 19:13:29 -0000 1.270 +++ modules/statistics/statistics.module 30 Dec 2007 17:32:15 -0000 @@ -180,12 +180,12 @@ $statistics_timestamp = variable_get('statistics_day_timestamp', ''); if ((time() - $statistics_timestamp) >= 86400) { - /* reset day counts */ + // Reset day counts. db_query('UPDATE {node_counter} SET daycount = 0'); variable_set('statistics_day_timestamp', time()); } - /* clean expired access logs */ + // Clean up expired access logs. db_query('DELETE FROM {accesslog} WHERE timestamp < %d', time() - variable_get('statistics_flush_accesslog_timer', 259200)); } @@ -226,7 +226,7 @@ function statistics_get($nid) { if ($nid > 0) { - /* retrieves an array with both totalcount and daycount */ + // Retrieve an array with both totalcount and daycount. $statistics = db_fetch_array(db_query('SELECT totalcount, daycount, timestamp FROM {node_counter} WHERE nid = %d', $nid)); } Index: modules/user/user.pages.inc =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.pages.inc,v retrieving revision 1.7 diff -u -r1.7 user.pages.inc --- modules/user/user.pages.inc 17 Dec 2007 17:06:16 -0000 1.7 +++ modules/user/user.pages.inc 30 Dec 2007 17:32:17 -0000 @@ -150,10 +150,9 @@ drupal_set_title(check_plain($account->name)); // Retrieve all profile fields and attach to $account->content. user_build_content($account); - /** - * To theme user profiles, copy modules/user/user_profile.tpl.php - * to your theme directory, and edit it as instructed in that file's comments. - */ + + // To theme user profiles, copy modules/user/user_profile.tpl.php + // to your theme directory, and edit it as instructed in that file's comments. return theme('user_profile', $account); } Index: modules/system/system.install =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.install,v retrieving revision 1.220 diff -u -r1.220 system.install --- modules/system/system.install 28 Dec 2007 22:23:57 -0000 1.220 +++ modules/system/system.install 30 Dec 2007 17:32:17 -0000 @@ -267,12 +267,12 @@ */ function system_install() { if ($GLOBALS['db_type'] == 'pgsql') { - /* create unsigned types */ + // Create unsigned types. db_query("CREATE DOMAIN int_unsigned integer CHECK (VALUE >= 0)"); db_query("CREATE DOMAIN smallint_unsigned smallint CHECK (VALUE >= 0)"); db_query("CREATE DOMAIN bigint_unsigned bigint CHECK (VALUE >= 0)"); - /* create functions */ + // Create functions. db_query('CREATE OR REPLACE FUNCTION "greatest"(numeric, numeric) RETURNS numeric AS \'SELECT CASE WHEN (($1 > $2) OR ($2 IS NULL)) THEN $1 ELSE $2 END;\' LANGUAGE \'sql\''