mirror of
https://git.proxmox.com/git/pve-access-control
synced 2025-06-03 20:38:39 +00:00
add a way to return file changes (diffs)
This commit is contained in:
parent
e42eedbca4
commit
272fe9ffa2
2
Makefile
2
Makefile
@ -2,7 +2,7 @@ RELEASE=2.0
|
||||
|
||||
VERSION=1.0
|
||||
PACKAGE=libpve-access-control
|
||||
PKGREL=4
|
||||
PKGREL=5
|
||||
|
||||
DESTDIR=
|
||||
PREFIX=/usr
|
||||
|
@ -277,6 +277,9 @@ sub init_request {
|
||||
|
||||
PVE::Cluster::cfs_update();
|
||||
|
||||
$self->{result_count} = undef;
|
||||
$self->{result_changes} = undef;
|
||||
|
||||
my $userconfig; # we use this for regression tests
|
||||
foreach my $p (keys %params) {
|
||||
if ($p eq 'userconfig') {
|
||||
@ -337,6 +340,18 @@ sub get_result_count {
|
||||
return $self->{result_count};
|
||||
}
|
||||
|
||||
sub set_result_changes {
|
||||
my ($self, $diff) = @_;
|
||||
|
||||
$self->{result_changes} = $diff;
|
||||
}
|
||||
|
||||
sub get_result_changes {
|
||||
my ($self) = @_;
|
||||
|
||||
return $self->{result_changes};
|
||||
}
|
||||
|
||||
sub set_language {
|
||||
my ($self, $lang) = @_;
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
libpve-access-control (1.0-5) unstable; urgency=low
|
||||
|
||||
* add a way to return file changes (diffs): set_result_changes()
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Tue, 20 Dec 2011 11:18:48 +0100
|
||||
|
||||
libpve-access-control (1.0-4) unstable; urgency=low
|
||||
|
||||
* new environment type for ha agents
|
||||
|
Loading…
Reference in New Issue
Block a user