Update to 2022-09-25 19:00

This commit is contained in:
Daniel Berteaud
2022-09-25 19:00:07 +02:00
parent 655769a8f3
commit c784f8505a
4 changed files with 17 additions and 16 deletions

View File

@@ -1,11 +1,12 @@
--- /usr/share/perl5/PMG/API2/Subscription.pm.orig 2018-10-19 09:00:37.950836918 +0200
+++ /usr/share/perl5/PMG/API2/Subscription.pm 2018-10-19 09:00:45.782516677 +0200
@@ -79,7 +79,7 @@
my $info = PVE::INotify::read_file('subscription');
if (!$info) {
return {
- status => "NotFound",
+ status => "Active",
message => "There is no subscription key",
serverid => $server_id,
url => $url,
--- /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.orig 2022-09-23 20:10:20.125559720 +0200
+++ /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js 2022-09-23 20:13:04.311301761 +0200
@@ -510,8 +510,7 @@
},
success: function(response, opts) {
let res = response.result;
- if (res === null || res === undefined || !res || res
- .data.status.toLowerCase() !== 'active') {
+ if (false) {
Ext.Msg.show({
title: gettext('No valid subscription'),
icon: Ext.Msg.WARNING,

View File

@@ -42,7 +42,7 @@
tags: pmg
- name: Remove registration nag
patch: src=remove_nag.patch dest=/usr/share/perl5/PMG/API2/Subscription.pm
patch: src=remove_nag.patch dest=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
notify: restart pmgproxy
tags: pmg