]> git.proxmox.com Git - pve-access-control.git/commitdiff
add a way to return file changes (diffs)
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Dec 2011 10:19:50 +0000 (11:19 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 20 Dec 2011 10:19:50 +0000 (11:19 +0100)
Makefile
PVE/RPCEnvironment.pm
changelog.Debian

index c7c9e6487dbc870006a021d3c7af92380d3c0f61..44bb5bcd336e7c071105cd74fbbd2faba703a303 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ RELEASE=2.0
 
 VERSION=1.0
 PACKAGE=libpve-access-control
-PKGREL=4
+PKGREL=5
 
 DESTDIR=
 PREFIX=/usr
index 71e2c43b782d937c4e1b130fc6a3d377ce1f3f5b..45cc84d665c765e46b30fdc71f1ffb9472812166 100644 (file)
@@ -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) = @_;
 
index cda85574dcd963b69d8ae63c2fcdfef38f2b3fc8..d928c01642afc9a7233cd8495a908a23a774776c 100644 (file)
@@ -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