Wedge

Public area => Bug reports => The Pub => Archived fixes => Topic started by: halojoy on January 8th, 2017, 07:25 PM

Title: Deprecated name of function in class.
Post by: halojoy on January 8th, 2017, 07:25 PM
I run PHP 7.
I wanted to try Wedge and started the installer.

There is a deprecated function name. With the same name as the class.
This is not what one can do in PHP 7. We get NOTICE.

/install/install.php ...Line number 1347:
Class ftp_connection
and
function ftp_connection()

I changed the name of function to
function __construct()
and there was no longer any NOTICE.
Title: Re: Deprecated name of function in class.
Post by: halojoy on January 8th, 2017, 09:45 PM
Nao has already fixed this in the Github code.