aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/Update.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm
index ece72f3ee..629408401 100644
--- a/perllib/FixMyStreet/App/Controller/Report/Update.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm
@@ -122,6 +122,16 @@ sub process_user : Private {
return 1;
}
+=head2 process_update
+
+Take the submitted params and create a new update item. Does not save
+anything to the database.
+
+NB: relies on their being a probem and update_user in the stash. May
+want to move adding these elsewhere
+
+=cut
+
sub process_update : Private {
my ( $self, $c ) = @_;
@@ -179,6 +189,12 @@ sub check_for_errors : Private {
return;
}
+=head2 save_update
+
+Save the update and the user as appropriate.
+
+=cut
+
sub save_update : Private {
my ( $self, $c ) = @_;