Projekt

Allgemein

Profil

Herunterladen (536 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
package SL::BackgroundJob::UpdateEmployeeBaseData;

# When authentication via HTTP headers is active the regular login
# routine is skipped. That routine would normally copy values from the
# auth database to the employee table. This job can be run regularly
# to copy the same values.

use strict;
use utf8;

use parent qw(SL::BackgroundJob::Base);

use SL::DB::BackgroundJob;
use SL::DB::Employee;

sub run {
my ($self, $db_obj, $end_date) = @_;

SL::DB::Manager::Employee->update_entries_for_authorized_users;

return 1;
}

1;
(29-29/31)