aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-04 17:14:36 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-04 17:14:36 +0000
commitbe1d7f07903d7291dde8da19f78935233e383597 (patch)
tree3c3fc912a3c3a51f193917d9d6667a504f432e2a /bin
parentcef6a4660efcf95c7d77cdf76facf186d051f184 (diff)
Remove all special body handling in order to move FMB to use bodies properly.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/send-comments6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/send-comments b/bin/send-comments
index 4f654fe20..fb81d76e9 100755
--- a/bin/send-comments
+++ b/bin/send-comments
@@ -2,7 +2,7 @@
# send-comments:
# Send comments/updates on reports to bodies
-# In Open311 parlance these are 'service request udpates' and are sent using
+# In Open311 parlance these are 'service request updates' and are sent using
# mySociety's proposed extension to the Open311 Georeport v2 spec:
# https://github.com/mysociety/fixmystreet/wiki/Open311-FMS---Proposed-differences-to-Open311
#
@@ -95,8 +95,8 @@ while ( my $body = $bodies->next ) {
while ( my $comment = $comments->next ) {
my $cobrand = FixMyStreet::Cobrand->get_class_for_moniker($comment->cobrand)->new();
- # actually this should be OK for any devolved endpoint if original Open311->can_be_devolved, presumably
- if ( $cobrand->moniker eq "fixmybarangay") {
+ # TODO actually this should be OK for any devolved endpoint if original Open311->can_be_devolved, presumably
+ if ( 0 ) { # Check can_be_devolved and do this properly if set
my $sender = $cobrand->get_body_sender( $body, $comment->problem->category );
my $config = $sender->{config};
$o = Open311->new(