]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/Part.pm
Part Methode last_modification für mtime Check
[kivitendo-erp.git] / SL / DB / Part.pm
index 7fd35d80ef2e0120c4da93560b6c0b4a7219e907..d19ec26e4eac2c3ddb92ec7ad425c0a84e004228 100644 (file)
@@ -130,6 +130,11 @@ sub new_assortment {
   $class->new(%params, part_type => 'assortment');
 }
 
+sub last_modification {
+  my ($self) = @_;
+  return $self->mtime or $self->itime;
+};
+
 sub orphaned {
   my ($self) = @_;
   die 'not an accessor' if @_ > 1;