[Jifty-commit] r411 - in jifty/trunk: lib/Jifty/Action/Record
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Dec 27 18:49:19 EST 2005
Author: alexmv
Date: Tue Dec 27 18:49:18 2005
New Revision: 411
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Action/Record/Update.pm
Log:
r8432 at zoq-fot-pik: chmrr | 2005-12-27 18:20:58 -0500
* Remove last vestiges of ::Delete from ::Update
Modified: jifty/trunk/lib/Jifty/Action/Record/Update.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Update.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Update.pm Tue Dec 27 18:49:18 2005
@@ -39,7 +39,6 @@
$arguments->{$pk}{'render_as'} = 'Unrendered';
# primary key fields should always be hidden fields
}
- $arguments->{delete} = {render_as => "Unrendered"};
return $arguments;
}
@@ -110,15 +109,6 @@
$changed = 1 if $val;
}
- # XXX: This should be only on ::Delete
- if ($self->argument_value("delete")) {
- my ( $val, $msg ) = $self->record->delete;
- $self->result->error($msg)
- if not $val and $msg;
-
- $changed = 1 if $val;
- }
-
$self->report_success
if $changed and not $self->result->failure;
More information about the Jifty-commit
mailing list