Neuigkeiten:

moziloCMS verwendet Cookies. Wenn Sie auf unserer Seite weitersurfen, stimmen Sie der Cookie-Nutzung zu Datenschutzerklärung
moziloCMS Layouts
moziloCMS Plugins

Hauptmenü

AccessControl - deprecated constructor

Begonnen von szoeller, 24. Februar 2021, 15:14:24

« vorheriges - nächstes »

szoeller

Hallo zusammen,
ich habe die aktuelle mozilo Version 2.0 Rev. 51
Im Plugin AccessControl wird mir die Meldung gebracht:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Access_Admin has a deprecated constructor in /.../plugins/AccessControl/admin.php on line 3
Wie kann ich das wegbekommen?

LG Susanne

marusti

ohne es komplett durchgetestet zu haben (ich verwende das Plugin nicht)
ersetze function Access_Admin($plugin) {
mit
function __construct($plugin) {