Adamw has uploaded a new change for review.
https://gerrit.wikimedia.org/r/52283
Change subject: hack to show E_STRICT warnings in yellow - DO NOT MERGE!
......................................................................
hack to show E_STRICT warnings in yellow - DO NOT MERGE!
Change-Id: I0d77a508ae835771d8f033bba9f5edf5f6dc4648
---
M includes/common.inc
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/civicrm
refs/changes/83/52283/1
diff --git a/includes/common.inc b/includes/common.inc
index bdb8b2f..9163b22 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -657,7 +657,7 @@
// Force display of error messages in update.php.
if (variable_get('error_level', 1) == 1 || strstr($_SERVER['SCRIPT_NAME'],
'update.php')) {
- drupal_set_message($entry, 'error');
+ drupal_set_message($entry, (E_NOTICE ? 'warning' : 'error'));
}
watchdog('php', '%message in %file on line %line.', array('%error' =>
$types[$errno], '%message' => $message, '%file' => $filename, '%line' =>
$line), WATCHDOG_ERROR);
--
To view, visit https://gerrit.wikimedia.org/r/52283
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0d77a508ae835771d8f033bba9f5edf5f6dc4648
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/civicrm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits