Update interface_80_modStripe_Stripe.class.php
This commit is contained in:
parent
08260cb7a4
commit
ca3402c4cf
@ -53,7 +53,7 @@ class InterfaceStripe
|
||||
$this->family = 'stripe';
|
||||
$this->description = "Triggers of the module Stripe";
|
||||
$this->version = 'dolibarr'; // 'development', 'experimental', 'dolibarr' or version
|
||||
$this->picto = 'stripe@stripe';
|
||||
$this->picto = 'stripe';
|
||||
}
|
||||
|
||||
/**
|
||||
@ -85,19 +85,7 @@ class InterfaceStripe
|
||||
public function getVersion()
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("admin");
|
||||
|
||||
if ($this->version == 'development') {
|
||||
return $langs->trans("Development");
|
||||
} elseif ($this->version == 'experimental') {
|
||||
return $langs->trans("Experimental");
|
||||
} elseif ($this->version == 'dolibarr') {
|
||||
return DOL_VERSION;
|
||||
} elseif ($this->version) {
|
||||
return $this->version;
|
||||
} else {
|
||||
return $langs->trans("Unknown");
|
||||
}
|
||||
return DOL_VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user