summaryrefslogtreecommitdiffstats
path: root/extensions/ComponentWatching/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ComponentWatching/Extension.pm')
-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');