summaryrefslogtreecommitdiffstats
path: root/extensions/ComponentWatching
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-10-16 23:25:00 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-10-16 23:25:00 +0200
commitbb85be28137ca2a822eb8164421072d8a088661e (patch)
tree15c1f039e982760c4708c950c76b8f378646d375 /extensions/ComponentWatching
parent7d0b9d75d0c57661729ff931ee283675016b53f2 (diff)
downloadbugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.gz
bugzilla-bb85be28137ca2a822eb8164421072d8a088661e.tar.xz
Bug 577329 - WebServices should filter email addresses same as the web UI as users are not always required to login
Diffstat (limited to 'extensions/ComponentWatching')
-rw-r--r--extensions/ComponentWatching/Extension.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm
index 00c0e49d3..e8e62b8b6 100644
--- a/extensions/ComponentWatching/Extension.pm
+++ b/extensions/ComponentWatching/Extension.pm
@@ -66,11 +66,11 @@ sub install_update_db {
'watch_user',
{
TYPE => 'INT3',
- REFERENCES => {
- TABLE => 'profiles',
- COLUMN => 'userid',
- DELETE => 'SET NULL',
- }
+ #REFERENCES => {
+ # TABLE => 'profiles',
+ # COLUMN => 'userid',
+ # DELETE => 'SET NULL',
+ #}
}
);
}
@@ -158,7 +158,7 @@ sub object_end_of_update {
sub _check_watch_user {
my ($self, $value, $field) = @_;
-
+ return 0;
$value = trim($value || '');
if ($value eq '') {
ThrowUserError('component_watch_missing_watch_user');