summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-02-11 08:08:25 +0100
committerByron Jones <bjones@mozilla.com>2013-02-11 08:08:25 +0100
commit38de41eb159ec4748bf7f91fb0440e9a0f586369 (patch)
tree7455c0a8885982689888c426f4fbd0d339658d1c /extensions
parentb78434f11815e68f508b1921e0c85e746cb24355 (diff)
downloadbugzilla-38de41eb159ec4748bf7f91fb0440e9a0f586369.tar.gz
bugzilla-38de41eb159ec4748bf7f91fb0440e9a0f586369.tar.xz
restore commented out ComponentWatch functions
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ComponentWatching/Extension.pm11
1 files changed, 5 insertions, 6 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm
index e8e62b8b6..45d6127bf 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,6 @@ 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');