Changeset 1286 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql.pm
- Timestamp:
- 03/20/15 12:31:05 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql.pm
r1285 r1286 637 637 } 638 638 639 sub ReportChange { 640 my ($self, $otype, $name, $ref, $changetype, $message, @args) = @_; 641 642 my $sth = $self->db->prepare(q{ 643 INSERT into objectslogs (ikey, otype, name, changetype, username, message) 644 VALUES (?,?,?,?,?,?) 645 }); 646 647 $sth->execute( 648 $ref, 649 $otype, 650 $name, 651 $changetype, 652 $self->user || '@Console', 653 sprintf($message, @args), 654 ); 655 } 656 639 657 =head2 getobjectlogs($otype, $name) 640 658
Note: See TracChangeset
for help on using the changeset viewer.