Clean code

This commit is contained in:
Laurent Destailleur 2021-12-02 11:33:51 +01:00
parent bd0208b595
commit a3493d0132

View File

@ -91,7 +91,6 @@ class Notify
public function __construct($db)
{
$this->db = $db;
$this->arrayofnotifsupported = self::$arrayofnotifsupported;
}
@ -346,7 +345,7 @@ class Notify
global $dolibarr_main_url_root;
global $action;
if (!in_array($notifcode, $this->arrayofnotifsupported)) {
if (!in_array($notifcode, Notify::$arrayofnotifsupported)) {
return 0;
}