Index: includes/file.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/file.inc,v retrieving revision 1.90.2.7 diff -u -r1.90.2.7 file.inc --- includes/file.inc 26 Jan 2009 14:22:45 -0000 1.90.2.7 +++ includes/file.inc 13 Jul 2010 18:53:09 -0000 @@ -643,7 +643,7 @@ if (is_dir("$dir/$file") && $recurse) { $files = array_merge($files, file_scan_directory("$dir/$file", $mask, $nomask, $callback, $recurse, $key, $min_depth, $depth + 1)); } - elseif ($depth >= $min_depth && ereg($mask, $file)) { + elseif ($depth >= $min_depth && @ereg($mask, $file)) { $filename = "$dir/$file"; $basename = basename($file); $name = substr($basename, 0, strrpos($basename, '.')); Index: includes/unicode.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/unicode.inc,v retrieving revision 1.23.2.2 diff -u -r1.23.2.2 unicode.inc --- includes/unicode.inc 21 May 2007 01:09:21 -0000 1.23.2.2 +++ includes/unicode.inc 13 Jul 2010 18:53:09 -0000 @@ -135,7 +135,7 @@ } // Check for an encoding declaration in the XML prolog if no BOM was found. - if (!$bom && ereg('^<\?xml[^>]+encoding="([^"]+)"', $data, $match)) { + if (!$bom && @ereg('^<\?xml[^>]+encoding="([^"]+)"', $data, $match)) { $encoding = $match[1]; } Index: modules/block/block.module =================================================================== RCS file: /cvs/drupal/drupal/modules/block/block.module,v retrieving revision 1.246.2.11 diff -u -r1.246.2.11 block.module --- modules/block/block.module 14 Jan 2009 05:43:04 -0000 1.246.2.11 +++ modules/block/block.module 13 Jul 2010 18:53:09 -0000 @@ -589,7 +589,7 @@ * Allow users to decide which custom blocks to display when they visit * the site. */ -function block_user($type, $edit, &$account, $category = NULL) { +function block_user($type, $edit, $account, $category = NULL) { switch ($type) { case 'form': if ($category == 'account') { Index: modules/comment/comment.info =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.info,v retrieving revision 1.3 diff -u -r1.3 comment.info --- modules/comment/comment.info 21 Nov 2006 20:55:34 -0000 1.3 +++ modules/comment/comment.info 13 Jul 2010 18:53:09 -0000 @@ -1,5 +1,5 @@ ; $Id: comment.info,v 1.3 2006/11/21 20:55:34 dries Exp $ name = Comment -description = Allows users to comment on and discuss published content. +description = "Allows users to comment on and discuss published content." package = Core - optional version = VERSION Index: modules/comment/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v retrieving revision 1.520.2.14 diff -u -r1.520.2.14 comment.module --- modules/comment/comment.module 29 Apr 2009 18:32:15 -0000 1.520.2.14 +++ modules/comment/comment.module 13 Jul 2010 18:53:09 -0000 @@ -450,7 +450,7 @@ * * Provides signature customization for the user's comments. */ -function comment_user($type, $edit, &$user, $category = NULL) { +function comment_user($type, $edit, $user, $category = NULL) { if ($type == 'form' && $category == 'account') { // when user tries to edit his own data $form['comment_settings'] = array( Index: modules/drupal/drupal.info =================================================================== RCS file: /cvs/drupal/drupal/modules/drupal/Attic/drupal.info,v retrieving revision 1.3 diff -u -r1.3 drupal.info --- modules/drupal/drupal.info 21 Nov 2006 20:55:34 -0000 1.3 +++ modules/drupal/drupal.info 13 Jul 2010 18:53:09 -0000 @@ -1,5 +1,5 @@ ; $Id: drupal.info,v 1.3 2006/11/21 20:55:34 dries Exp $ name = Drupal -description = Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes; also enables users to log in using a Drupal ID. +description = "Lets you register your site with a central server and improve ranking of Drupal projects by posting information on your installed modules and themes; also enables users to log in using a Drupal ID." package = Core - optional version = VERSION Index: modules/node/node.info =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.info,v retrieving revision 1.3 diff -u -r1.3 node.info --- modules/node/node.info 21 Nov 2006 20:55:34 -0000 1.3 +++ modules/node/node.info 13 Jul 2010 18:53:09 -0000 @@ -1,5 +1,5 @@ ; $Id: node.info,v 1.3 2006/11/21 20:55:34 dries Exp $ name = Node -description = Allows content to be submitted to the site and displayed on pages. +description = "Allows content to be submitted to the site and displayed on pages." package = Core - required version = VERSION Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.776.2.33 diff -u -r1.776.2.33 node.module --- modules/node/node.module 14 Jan 2009 23:32:14 -0000 1.776.2.33 +++ modules/node/node.module 13 Jul 2010 18:53:10 -0000 @@ -1006,7 +1006,7 @@ /** * Implementation of hook_user(). */ -function node_user($op, &$edit, &$user) { +function node_user($op, $edit, $user) { if ($op == 'delete') { db_query('UPDATE {node} SET uid = 0 WHERE uid = %d', $user->uid); db_query('UPDATE {node_revisions} SET uid = 0 WHERE uid = %d', $user->uid); Index: modules/poll/poll.info =================================================================== RCS file: /cvs/drupal/drupal/modules/poll/poll.info,v retrieving revision 1.3 diff -u -r1.3 poll.info --- modules/poll/poll.info 21 Nov 2006 20:55:35 -0000 1.3 +++ modules/poll/poll.info 13 Jul 2010 18:53:10 -0000 @@ -1,5 +1,5 @@ ; $Id: poll.info,v 1.3 2006/11/21 20:55:35 dries Exp $ name = Poll -description = Allows your site to capture votes on different topics in the form of multiple choice questions. +description = "Allows your site to capture votes on different topics in the form of multiple choice questions." package = Core - optional version = VERSION Index: modules/system/system.module =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.module,v retrieving revision 1.440.2.62 diff -u -r1.440.2.62 system.module --- modules/system/system.module 4 Mar 2010 00:32:05 -0000 1.440.2.62 +++ modules/system/system.module 13 Jul 2010 18:53:10 -0000 @@ -325,7 +325,7 @@ * * Allows users to individually set their theme and time zone. */ -function system_user($type, $edit, &$user, $category = NULL) { +function system_user($type, $edit, $user, $category = NULL) { if ($type == 'form' && $category == 'account') { $form['theme_select'] = system_theme_select_form(t('Selecting a different theme will change the look and feel of the site.'), $edit['theme'], 2); @@ -1864,7 +1864,7 @@ /** * Theme status report */ -function theme_status_report(&$requirements) { +function theme_status_report($requirements) { $i = 0; $output = ''; foreach ($requirements as $requirement) { Index: modules/user/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.module,v retrieving revision 1.745.2.36 diff -u -r1.745.2.36 user.module --- modules/user/user.module 16 Sep 2009 19:33:40 -0000 1.745.2.36 +++ modules/user/user.module 13 Jul 2010 18:53:11 -0000 @@ -260,7 +260,7 @@ if (substr($name, 0, 1) == ' ') return t('The username cannot begin with a space.'); if (substr($name, -1) == ' ') return t('The username cannot end with a space.'); if (strpos($name, ' ') !== FALSE) return t('The username cannot contain multiple spaces in a row.'); - if (ereg("[^\x80-\xF7 [:alnum:]@_.-]", $name)) return t('The username contains an illegal character.'); + if (@ereg("[^\x80-\xF7 [:alnum:]@_.-]", $name)) return t('The username contains an illegal character.'); if (preg_match('/[\x{80}-\x{A0}'. // Non-printable ISO-8859-1 + NBSP '\x{AD}'. // Soft-hyphen '\x{2000}-\x{200F}'. // Various space characters @@ -464,7 +464,7 @@ /** * Implementation of hook_user(). */ -function user_user($type, &$edit, &$user, $category = NULL) { +function user_user($type, $edit, $user, $category = NULL) { if ($type == 'view') { $items['history'] = array('title' => t('Member for'), 'value' => format_interval(time() - $user->created), Index: modules/watchdog/watchdog.module =================================================================== RCS file: /cvs/drupal/drupal/modules/watchdog/Attic/watchdog.module,v retrieving revision 1.165.2.1 diff -u -r1.165.2.1 watchdog.module --- modules/watchdog/watchdog.module 23 Jan 2007 19:07:33 -0000 1.165.2.1 +++ modules/watchdog/watchdog.module 13 Jul 2010 18:53:11 -0000 @@ -73,7 +73,7 @@ /** * Implementation of hook_user(). */ -function watchdog_user($op, &$edit, &$user) { +function watchdog_user($op, $edit, $user) { if ($op == 'delete') { db_query('UPDATE {watchdog} SET uid = 0 WHERE uid = %d', $user->uid); }