Changeset 442
- Timestamp:
- 06/25/12 19:39:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Scan/RpmsPath.pm
r441 r442 28 28 $self->db->base->resultset('Paths')->find( 29 29 { d_path_key => $self->key }, 30 { key => ' d_path_key' },30 { key => 'primary' }, 31 31 )->path; 32 32 } … … 124 124 $self->db->base->resultset('Paths')->find( 125 125 { d_path_key => $self->key }, 126 { key => ' d_path_key' },126 { key => 'primary' }, 127 127 )->update({ 'exists' => ($exists ? 1 : 0) }); 128 128 $self->db->commit; … … 133 133 $self->db->base->resultset('Paths')->find( 134 134 { d_path_key => $self->key }, 135 { key => ' d_path_key' },135 { key => 'primary' }, 136 136 )->update({ needupdate => 0 }); 137 137 $self->db->commit; … … 142 142 $self->db->base->resultset('Paths')->find( 143 143 { d_path_key => $self->key }, 144 { key => ' d_path_key' },144 { key => 'primary' }, 145 145 )->get_column('needupdate'); 146 146 } … … 150 150 $self->db->base->resultset('Paths')->find( 151 151 { d_path_key => $self->key }, 152 { key => ' d_path_key' },152 { key => 'primary' }, 153 153 )->update({ 'updated' => \'now()' }); 154 154 $self->db->commit;
Note: See TracChangeset
for help on using the changeset viewer.