aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-18 17:35:04 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-18 17:35:04 +0100
commit7172772a3a75d18917bd3747786839323d3d0fbf (patch)
treebc4ff122988fcb968c49a50d77703ed9b597403b
parent611f0fc992503b9332ea1e5bb0f5df55d031d8ac (diff)
documentation
-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 ) = @_;