diff options
author | Byron Jones <bjones@mozilla.com> | 2013-02-11 08:08:25 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-02-11 08:08:25 +0100 |
commit | 38de41eb159ec4748bf7f91fb0440e9a0f586369 (patch) | |
tree | 7455c0a8885982689888c426f4fbd0d339658d1c /extensions/ComponentWatching | |
parent | b78434f11815e68f508b1921e0c85e746cb24355 (diff) | |
download | bugzilla-38de41eb159ec4748bf7f91fb0440e9a0f586369.tar.gz bugzilla-38de41eb159ec4748bf7f91fb0440e9a0f586369.tar.xz |
restore commented out ComponentWatch functions
Diffstat (limited to 'extensions/ComponentWatching')
-rw-r--r-- | extensions/ComponentWatching/Extension.pm | 11 |
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'); |