Unverified Commit 44a8f1c0 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(subscription) There is no update function in 1.3-fixes

issue #6152
Showing with 2 additions and 4 deletions
+2 -4
...@@ -137,10 +137,8 @@ class subscriptionInfo extends simplePlugin ...@@ -137,10 +137,8 @@ class subscriptionInfo extends simplePlugin
$this->attributesAccess['fdSubscriptionTextExpired']->setAllowHTML(TRUE); $this->attributesAccess['fdSubscriptionTextExpired']->setAllowHTML(TRUE);
} }
public function update () function execute ()
{ {
parent::update();
if ($this->uid !== '') { if ($this->uid !== '') {
$this->attributesAccess['fdSubscriptionText']->setVisible(FALSE); $this->attributesAccess['fdSubscriptionText']->setVisible(FALSE);
$this->attributesAccess['fdSubscriptionName']->setVisible(TRUE); $this->attributesAccess['fdSubscriptionName']->setVisible(TRUE);
...@@ -165,7 +163,7 @@ class subscriptionInfo extends simplePlugin ...@@ -165,7 +163,7 @@ class subscriptionInfo extends simplePlugin
$this->attributesAccess['fdSubscriptionTextExpired']->setVisible(FALSE); $this->attributesAccess['fdSubscriptionTextExpired']->setVisible(FALSE);
} }
return TRUE; return parent::execute();
} }
public function handle_import () public function handle_import ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment