Skip to content

Commit da1a7c0

Browse files
committed
Reset action variable to an empty string after update.
1 parent 2c7ee0f commit da1a7c0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -749,6 +749,9 @@ function update($event_name,$data) {
749749
// request a httpd reload when all records have been processed
750750
$app->services->restartServiceDelayed('httpd','reload');
751751

752+
//* Unset action to clean it for next processed vhost.
753+
$this->action = '';
754+
752755
}
753756

754757
function delete($event_name,$data) {

server/plugins-available/cron_plugin.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ function update($event_name,$data) {
141141
$this->parent_domain = $parent_domain;
142142
$this->_write_crontab();
143143

144+
$this->action = '';
144145

145146
}
146147

0 commit comments

Comments
 (0)